the input action to query
the pointer event type to query
Optional
entity: Entitythe entity to query, ignore for global
Check if an input action is currently being pressed.
boolean
the input action to query
Check if a pointer event has been emitted in the last tick-update.
boolean
the input action to query
the pointer event type to query
Optional
entity: Entitythe entity to query, ignore for global
Get the input command info if a pointer event has been emitted in the last tick-update.
Returns
the input command info or undefined if there is no command in the last tick-update