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

useTarget

useTarget(): object

The player’s AbilityTargetTrait, read from the world as it changes: what a target frame shows, and what a game draws its own mark under in place of <Targeting marker>’s.

object

Name Type Default value
entity Entity | null -
pinned boolean false