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

axisInput

axisInput(min, max, axisInputOptions?): AxisInputDeclaration

A number from min to max the player holds, which rides every tick’s input: a lean, a trigger, a slider. Its rest is the value in range nearest 0, and it travels as one of 255 values across its range, its rest exact. With keys, the negative keys hold it at min and the positive at max; setInput sets any value between.

Parameter Type
min number
max number
axisInputOptions AxisInputOptions

AxisInputDeclaration