Targeting
Targeting(
props):Element
Chooses the player’s AbilityTargetTrait, which every ability the player
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 the
player pins another, and abilities.actions.cycleTarget, Tab unless
abilities({ cycleTargetKeys }) moves it, pins the next in front. A game that
writes AbilityTargetTrait 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