Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

KeyBinding

One binding of the table: its name, plugin.key or an engine action’s, what it does, its keys and its touch button.

Property Type Description
description? string -
directions? VectorKeys A vector’s keys by direction. Left out for any other binding.
handle? PageActionHandle | AnyCommandHandle | InputHandle The input, the command or the page action it binds; left out for an engine action.
keys readonly KeyCode[] -
kind BindingKind -
name string -
negativeKeys? readonly KeyCode[] An axis’s keys that push it to its min; the rest push it to its max. Left out for any other binding.
touch? TouchControl -