Trigger
Trigger(
__namedParameters):null
Defined in: packages/engine/src/components/behaviours.tsx:206
Fires onEnter once when the hero comes within radius and onExit
once when she leaves. The step counts the crossings on the trait; they
are fired here, outside the step, in order, so a hero who passed
through between two frames still enters and exits.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
TriggerProps |
Returns
Section titled “Returns”null