Motion
Get Motion

ReferenceScripting APIMotionEventskey

MotionEvents.key

property

A key pressed or let go, only while the scene has the keyboard (requestInput): its code, whether down, whether it repeats, what it types.

Namekey
Kindproperty of MotionEvents
Called asevents.key
Since0.4

Syntax

key: (code: number, down: boolean, repeat: boolean, text: string) => void