ReferenceScripting APIMotionEventskey
MotionEvents.key
propertyA key pressed or let go, only while the scene has the keyboard (requestInput): its code, whether down, whether it repeats, what it types.
| Name | key |
|---|---|
| Kind | property of MotionEvents |
| Called as | events.key |
| Since | 0.4 |
Syntax
key: (code: number, down: boolean, repeat: boolean, text: string) => voidNotes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.