Targeting
Targeting(
props):Element|null
Chooses the player’s TargetTrait, which every ability she casts reads,
and marks it on the ground: soft lock takes the nearest hostile target
in front, a click or a tap on a target pins it until it dies or she
pins another, and the cycle key pins the next in front. A game that
writes TargetTrait from its own system instead has made a mode of its own.
On a room’s own world it chooses nothing: each page chooses its own
player’s.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
TargetingProps |
Returns
Section titled “Returns”Element | null