guiMoveToBack | Multi Theft Auto: Wiki Skip to content

guiMoveToBack

Client-side
Server-side
Shared

Pair: guiBringToFront

This function moves a GUI element to the very back of all other GUI elements.

OOP Syntax Help! I don't understand this!

Syntax

bool guiMoveToBack ( ​gui-element guiElement )
Required arguments
  • guiElement: The GUI element that you want to move to the back.

Returns

Returns true if the function was successful, false otherwise.

  • bool: result

Code Examples

client

This example creates a gui window and moves it to the back.

local window = guiCreateWindow(0.4, 0.4, 0.3, 0.3, "My dummy window", true)
guiMoveToBack(window)

See Also

GUI Functions