Syntax
getactors(): tableReturns
| Name | Type | Description |
|---|---|---|
actors | table | Array table of Actor instances. |
Description
Returns Actor instances known to the runtime.
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 = getactors()
print(result)