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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
min |
number |
max |
number |
axisInputOptions |
AxisInputOptions |