Defined in: packages/engine/src/components/behaviours.tsx:190
| Property |
Type |
Default value |
Description |
onEnter? |
() => void |
undefined |
Fired the frame she comes inside. Client behaviour, so a callback is allowed: it changes what this client shows. |
onExit? |
() => void |
undefined |
Fired the frame she leaves. |
radius? |
number |
1 |
Metres from the entity within which the hero is inside. |