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

sendPlayerInput

sendPlayerInput<Value>(character, handle, value): void

Holds handle at value from here on for character alone, a character the world’s input does not reach, such as another player’s in a test: a button held or let go, an axis, a vector or an angle at the step nearest the value. An edge button held reads true until a step takes it, once.

Type Parameter
Value extends InputValue
Parameter Type
character Entity
handle InputHandle<Value>
value Value

void