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.
Returns
Section titled “Returns”object
| Name | Type | Default value |
|---|---|---|
entity |
Entity | null |
- |
pinned |
boolean |
false |