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

steerFromStick

steerFromStick(direction): void

Points the stick where the player’s thumb is: the character’s move, held by the touch source as the engine’s own stick holds it, added to what its keys hold, and the free camera’s flight. (0, 0) lets go. The direction is copied, so the caller keeps its own vector.

Parameter Type
direction Vector2

void