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

BuildToolState

What useBuildTool reads.

Property Type Description
cell Cell | null The anchor cell the tool aims at, or null where it aims at nothing.
detail string | null The refusal’s line, or the game’s detail.
isPending boolean A command is out and its result has not come.
quarterTurns number -
refusal BuildRefusalReason | null Why the aimed action cannot happen, or null where it can.
target Entity | null The piece a remove or a move aims at, or the one a move holds.