guiMoveToBack | Multi Theft Auto: Wiki Skip to content

guiMoveToBack

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


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 ( element guiElement )
Required Arguments
  • guiElement: the GUI element that you want to move to the back

Returns

  • bool: value

Returns true if the function was successful, false otherwise.

Code Examples

shared

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