⌨ī¸Input

get_key_down

Returns true if (index) key is pressed, look here for keyboard values

g_input.get_key_down(1)

get_mouse_pos

gets mouse position on screen

x = g_input.get_mouse_pos()[0] // x
y = g_input.get_mouse_pos()[1] // y

Last updated