Unit Reference OnMultiKeyPress - RealityStop/Bolt.Addons.Community GitHub Wiki
This unit triggers an event when two specified keys are pressed simultaneously or within a configurable delay. You can detect key down, hold, or key up states for multi-key combinations.
Input Ports
- Key1 : The first key in the multi-key combination.
- Key2 : The second key in the multi-key combination.
-
Action : The type of key press to detect (
Down,Hold,Up).
Settings
- Delay : Maximum time interval (in seconds) allowed between the two key presses for them to count as the same multi-key action. Default is 0.2 seconds.
Behavior
-
Down: Triggers when both keys are pressed within the
Delayinterval. - Hold: Triggers continuously while both keys are held down.
-
Up: Triggers when both keys are released within the
Delayinterval.