Impulse globals
print
print(console_reference: number, content: string) -> nil
warn
warn(console_reference: number, content: string) -> nil
error
error(console_reference: number, content: string) -> nil
add_connection
add_connection(connection_name: string, callback: function) -> integer
Connection name
Description
new_frame
Triggered at the start of each frame, allowing functions to execute per-frame updates such as rendering or game logic.
cursor_move
Invoked when the cursor moves, passing the new cursor position as a vector2 to the callback for handling input tracking or UI interactions.
shutdown
Invoked when the cursor moves, providing updated position coordinates to handle input tracking or UI interactions.
remove_connection
remove_connection(connection_reference: integer) -> nil
load_string
load_string(source_code: string) -> function
new_c_closure
new_c_closure(func: function) -> function
is_l_closure
is_l_closure(func: function) -> boolean
is_c_closure
is_c_closure(func: function) -> boolean
get_wrapped_original
get_wrapped_original(func: function) -> function
set_read_only
set_read_only(tbl: table) -> nil
get_read_only
get_read_only(tbl: table) -> boolean
random_string
random_string(length: integer) -> string
set_clipboard
set_clipboard(data: string) -> nil
get_clipboard
get_clipboard() -> string
has_internet
has_internet() -> boolean
Last updated