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

movePiece

movePiece(step, entity, options): PieceResult

Moves a placed piece to another slot, turns or recolours it in place, or takes a stored piece out to a slot, as a system does: the checks, the clearance and the game’s hooks, with no player’s access.

Parameter Type
step AuthoritativeStep
entity Entity
options MovePieceOptions

PieceResult