Actors

getdeletedactors

Returns Actor instances that were removed but are still tracked.

Syntax

getdeletedactors(): table

Returns

NameTypeDescription
actorstableArray table of Actor instances.

Description

Returns Actor instances that were removed but are still tracked.

Call it without parameters. The function reads the needed context from the current runtime state.

It returns actors (table). Use the returns table to separate successful values from nil results and recoverable errors.

Example

Example call with placeholder values.

local result = getdeletedactors()
print(result)