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

TargetTrait

const TargetTrait: Trait<() => object>

The character a caster has chosen, which every ability reads and none chooses, and whether the player pinned it with a click, a tap or the cycle key rather than the soft lock choosing it. Set on the page, by <Targeting> or a game’s own system; the cast press carries it to the room, which never reads this trait.