input namespace
Input related methods and properties.
Enums
Methods
on_key_down | (self, handler: Callable[[], None], key_code: KeyCode) -> None |
Triggers an event whenever the specified KeyCode is pressed down. |
|
on_key_pressed | (self, handler: Callable[[], None], key_code: KeyCode) -> None |
Triggers every frame while specified KeyCode is pressed. |
|
on_key_up | (self, handler: Callable[[], None], key_code: KeyCode) -> None |
Triggers an event whenever the specified KeyCode is released. |
Properties
readonly | click_direction | Vector3 |
Returns Vector3 click direction originating from the camera. |