Skip to main content
Version: 2.13

On Key Pressed

Triggers an event if the selected combination of key is pressed

Description​

On key pressed can be used to set keyboard shortcuts

For more information about how to use the key property, please refer to: <a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key" target = "_blank">https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key&lt;/a>

Inputs​

  • key (String): The key that must be pressed to trigger the event.
  • Ctrl key (Boolean): Set this to true if you need the user to hold Ctrl+Key
  • Meta key (Boolean): Set this to true if you need the user to hold Meta+Key (Also called cmd on mac os)
  • Alt key (Boolean): Set this to true if you need the user to hold Alt+Key
  • Shift key (Boolean): Set this to true if you need the user to hold Shift+Key.

Outputs​

  • Control Flow (Control Flow): Triggered when the selected combination is pressed