gooey
returns whether the specified Widget exists, identified by its string ID (not by its reference).
Parameters
| Name | Type | Description | Required? |
|---|---|---|---|
_ID |
String |
The Widget string ID | Yes |
Bool
Whether the specified Widget exists
gets a specific Widget by its string ID (not by its reference).
Parameters
| Name | Type | Description | Required? |
|---|---|---|---|
_ID |
String |
The Widget string ID | Yes |
Any
The Widget's reference, or noone if not found
gets the currently dragged widget
All
the currently dragged widget (any widget from UIWidget) or undefined
gets the currently hovered Panel
UIPanel
the currently hovered panel or undefined
gets the currently hovered Widget
All
the currently hovered widget (any widget from UIWidget) or undefined
gets the reference to the currently focused Panel widget, or -1 if no panels exist.
UIPanel
The reference to the currently focused Panel
gets the message level for the library
Enum
The message level, according to UI_MESSAGE_LEVEL
gets the currently used mouse device for handling mouse events. By default it's 0.
Real
The currently used mouse device
gets an array with all Panel widgets currently registered
Array
The array with the Panel widgets
gets an array with all widgets currently registered
Array
The array with the widgets
returns whether the user is interacting with the UI, to prevent clicks/actions "drilling-through" to the game
Bool
whether the user is interacting with the UI
sets the camera id for working with scissors to render widgets (if enabled)
Parameters
| Name | Type | Description | Required? |
|---|---|---|---|
_camera_id |
Asset.Camera |
the camera ID to use | Yes |
sets the cursor to a specific sprite or cursor constant
sets the specified Panel as focused
Parameters
| Name | Type | Description | Required? |
|---|---|---|---|
_ID |
String |
the Panel to be focused | Yes |
UI
self
sets the message level for the library
Parameters
| Name | Type | Description | Required? |
|---|---|---|---|
_lvl |
Enum |
The message level, according to UI_MESSAGE_LEVEL | Yes |
UI
self
sets the mouse device for handling mouse events.
Parameters
| Name | Type | Description | Required? |
|---|---|---|---|
_device |
Real |
The number of the mouse device to use. | Yes |
UI
self