Skip to content
State proxiesOverview

LuaStateProxy.GetActors

Enumerates actors associated with a state proxy.

Details#

Returns the available Actor-state proxy collection through a state proxy. It uses the Actor-state discovery facility, rather than creating new Actor instances.

Examples#

Example

Luau
local state = getluastate()
if state then print(type(state:GetActors())) end