Skip to content

OnInteracted

Description

OnInteracted is an Event
This event is called whenever this Object's Interactable component is interacted with. If this Object is replicated, this event will fire on all clients (and the server). If this Object is not replicated, this event will only fire on the local client.

Example
function OnInteracted(character)
   -- write code here!
end
Usage

network usage: Any (Client or Server/Host)
parameters:
- character (Character)