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.
Returns true
if sprite_path is valid and contains loaded sprite, otherwise false
.
The player who owns this gui.
The top part of the GUI. It is a flow element.
The left part of the GUI. It is a flow element.
The center part of the GUI. It is a flow element.