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