Skip to content

API > MLClickable > OnPointerExit


MLClickable.OnPointerExit⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
OnPointerExit EventHandler

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 mlclickable;

--- callback function called when event triggers

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


-- Regsiter callback function
mlclickable.OnPointerExit.Add(CallBack);

Description⚓︎

Event which will trigger when player’s pointer stops hovering over the object.