githubEdit

crownImpulse 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

new_c_closure

is_l_closure

is_c_closure

get_wrapped_original

set_read_only

get_read_only

random_string

set_clipboard

get_clipboard

has_internet

Last updated