Class KeyEvent

Version added: before 9.5
The KeyEvent class is provided to your script when a keyboard event occurs. It contains information about the event.

Properties:

Name Type Description Version added
altKey bool True if the alt key is down, otherwise false. before 9.5
ctrlKey bool True if the ctrl key is down, otherwise false. before 9.5
key char The key character that was pressed. before 9.5
keyCode int32 A keycode to indicate which special key was pressed. See keycode constants. before 9.5
shiftKey bool True if the shift key is down, otherwise false. before 9.5
view MohoView A reference to the Anime Studio editing view. before 9.5