Skip to content

OnTouchBegin

Description

OnTouchBegin is an Event
This event is called whenever something starts touching this Object. You can use validity checks like IsObject() and IsCharacter() to check what the touched thing is.

Example
function OnTouchBegin(touched)
   -- write code here!
end
Usage

network usage: Any (Client or Server/Host)
parameters:
- touched (Wildcard)