Input & Time
Key Just Pressed
True only on the single frame a key goes down.
keycode
Key Just Pressed
Out
Node image coming soon
Usage
The one to use for actions that must fire once per press — jumping, shooting, opening a menu. Holding the key does not keep it true.
Inputs
| Type | Name | Description |
|---|---|---|
| int | keycode | The key to test. |
Outputs
| Type | Name | Description |
|---|---|---|
| bool | Out | True on the frame the key went down. |