Skip to content

API > PlayableDirector > played


PlayableDirector.played⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
played 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 playabledirector;

--- callback function called when event triggers

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


-- Regsiter callback function
playabledirector.played.Add(CallBack);

Description⚓︎

Event that is raised when a PlayableDirector component has begun playing.