LuaGui

class LuaGui
is_valid_sprite_path(sprite_path) → boolean Returns true if sprite_path is valid and contains loaded sprite, otherwise false.
player :: LuaPlayer [R] The player who owns this gui.
top :: LuaGuiElement [R] The top part of the GUI.
left :: LuaGuiElement [R] The left part of the GUI.
center :: LuaGuiElement [R] The center part of the GUI.
valid :: boolean [R] Is this object valid?

The root of the GUI. This type houses the root elements, top, left and center, to which other elements can be added to be displayed on screen.

Note: Every player can have a different GUI state.
is_valid_sprite_path(sprite_path) → boolean

Returns true if sprite_path is valid and contains loaded sprite, otherwise false.

Parameters
sprite_path :: SpritePath: Path to a image.
player :: LuaPlayer [Read-only]

The player who owns this gui.

top :: LuaGuiElement [Read-only]

The top part of the GUI. It is a flow element.

left :: LuaGuiElement [Read-only]

The left part of the GUI. It is a flow element.

center :: LuaGuiElement [Read-only]

The center part of the GUI. It is a flow element.