Construct 3 icon

Construct 3


Keyboard script interface

Ashley's avatar
Construct Team Founder
Published 3 Jun, 2019
97 words
<1 min

The IKeyboardObjectType interface derives from IObjectClass to add APIs specific to the Keyboard plugin.

Note this class derives from the object class interface, not the instance interface. Typically it is used through runtime.keyboard instead of the named object.

Keyboard APIs


Return a boolean indicating if the specified keyboard key is currently being held down. The key can be specified either by its numeric code, or a string of its key (see also pre-defined key values).