beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

KeyPress Op

Ops.Devices.Keyboard.KeyPress


KeyPress
Collections:hardware  
Related ops:  

Op author: pandur

triggers when a key is pressed


summary (oneliner)

Triggers every time a key has been pressed inside the preview panel. Click inside the preview panel and hit a key, you will then see the Key Code change. KeyPress uses the Character key codes, an a e.g. will result in the key code 97.



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

Outputs

on press (Trigger)

Triggers every time a keyboard key has been pressed (when focus is on the canvas / preview panel).


key code (Number)

The key code for the last pressed key


Char (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

keypress trigger example

Open Example In Editor


Examples using KeyPress ()

Public Patches using KeyPress ()