ProtoFlux:KeyPressed: Difference between revisions

From Resonite Wiki
Created a page for the Key Pressed node.
 
m YoshBot moved page ProtoFlux:Key Pressed to ProtoFlux:KeyPressed: Automated: removing spaces from ProtoFlux namespace
 
(2 intermediate revisions by 2 users not shown)
Line 15: Line 15:


{{Note|If you need to check if the keyboard key is pressed longer than a frame, Try [[ProtoFlux:Key Held|Key Held]] instead.|suggestion}}
{{Note|If you need to check if the keyboard key is pressed longer than a frame, Try [[ProtoFlux:Key Held|Key Held]] instead.|suggestion}}
== Inputs ==
=== Key ([[Type:Key|Key]]) ===
The key to check.


== Outputs ==
== Outputs ==
Line 23: Line 29:


[[Category:ProtoFlux:Devices:Keyboard]]
[[Category:ProtoFlux:Devices:Keyboard]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 00:26, 21 August 2025

Key Pressed
Key
*
Keyboard

The Key Pressed node returns the local user's keyboard key being pressed down. This will change within that frame, so combining it with Fire On True is recommended.

If you need to check if the keyboard key is pressed longer than a frame, Try Key Held instead.

Inputs

Key (Key)

The key to check.

Outputs

* (bool)

The result from the user's keyboard key that just pressed down.