mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 08:15:38 +07:00
328 B
328 B
INPUT
PROPERTIES
mouse: mouse(read_only)keyboard: keyboard(read_only)
EXAMPLE
if the_input.mouse.is_any_button_just_pressed then
the_debug:trace("some mouse button was pressed")
end
if the_input.keyboard:is_key_just_pressed("space") then
the_debug:trace("`space` key was pressed")
end