utils
Last updated
Last updated
utils.get_choked_commands():
number
Returns the number of choked commands.
utils.get_clipboard():
string
Returns from the clipboard.
utils.set_clipboard(text: string)
text
string
text
Sets the text to the clipboard.
utils.get_active_key(key: number):
boolean
key
number
Key to check
Returns true
, if the button is active.
utils.get_cursor_position():
vector_2d
Returns the current mouse position.
utils.set_cursor_visible(visible: boolean)
visible
boolean
cursor visible
Sets the cursor visible.
utils.get_scroll():
number
Returns -1.0
if the mouse wheel is spinning down, 1.0
if the mouse wheel is spinning up, and 0.0
if the mouse wheel is not rotating.