Callbacks (Reference(Auto exported))
Called every frame in the client of user who spawned of the item.
function update() end
[Requires ownership of SubItem] Called when the grip button is pressed while being grabbed.
function onUse(use) end
Name of the SubItem being used
[Requires ownership of SubItem]Called when a Collider (Trigger) collides with the item.
function onTriggerEnter(item, hit) end
Name of the SubItem
The name of the Collider
[Requires ownership of SubItem]Called when a Collider (Trigger) disengages from the item.
function onTriggerExit(item, hit) end
Name of the SubItem
The name of the Collider
[Requires ownership of SubItem]Called when a Collider (not Trigger) collides with the item.
function onCollisionEnter(item, hit) end
Name of the SubItem
The name of the Collider
[Requires ownership of SubItem]Called when a Collider (not Trigger) disengages from the item.
function onCollisionExit(item, hit) end
Name of the SubItem
The name of the Collider
[Requires ownership of SubItem]Called when the item is Grabbed.
function onGrab(target) end
Name of the SubItem being grabbed
[Requires ownership of SubItem]Called when the item is Ungrabbed.
function onUngrab(target) end
Name of the SubItem being ungrabbed