useTarget
useTarget():
object
The player’s TargetTrait, 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.
Returns
Section titled “Returns”object
| Name | Type |
|---|---|
entity |
Entity | null |
pinned |
boolean |