Skip to main content

MLGrab.OnSecondaryTriggerUp

"Read-Only"

This property is Read-Only

NameType
OnSecondaryTriggerUpEventHandler

Event callback function requirement

info

This property is an event. It means that you need to add a listener function to it. Here how that function needs to look like.

function();

Usage

--- @type 
local mlgrab;

--- callback function called when event triggers

local function CallBack()
-- code to handle event call back
end


-- Regsiter callback function
mlgrab.OnSecondaryTriggerUp.Add(CallBack);

Description

The Event handler which gets invoked when the triggered button released for the secondary hand. This event is invoked in all the clients if the grabbable object synchronized through the MLSynchronizer component.