InteractedToy
Gets called when the player has interacted with an invisible interactable toy.
Start a script section
!-- OnEvent InteractedToy
-- require @evPlayer *evInteractable
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerInteractedToyEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player that interacted with the toy. |
*evInteractable | reference to InteractableToy object | Gets the toy the player interacted with. |