Documentation

Support

Unity Lite

Open Unity Lite

Unity Lite

Key Pressed node

Detects when the user presses a specific key or uses the mouse buttons.
Read time 1 minuteLast updated 2 days ago

Add the Key Pressed node to an Event Listener node (like When or While) to detect when the user presses a key or mouse button.

Sockets

Socket

Description

Key
The specific key to detect (for example
Space
,
Enter
,
MouseButton0
).