Skip to content

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.

Parameter Type
__namedParameters TriggerProps

null