Input
Which way the player is pressing, while the scene is playing.
keyboard, wasd, arrows, controls, player, move, keys- Category
- Values
- Outputs
- value
- Runs live in
- no target yet
Arrow keys or WASD, reported as minus one, zero or plus one on the axis you pick. Two of these, one horizontal and one vertical, cover movement in a plane.
On its own it says which way, not where. Feed it through State and the presses accumulate into a position, which is what actually moves something.
Inputs
| Socket | Type | Wiring |
|---|
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| Axis | horizontal | vertical | horizontal | always |
Watch out
It reports a direction, not a position. Without State in the chain, whatever it drives snaps back the moment a key is released.
Built with this node
Nothing in the manual is built around this node yet.