Yuari
Documentation
Docs/Lua states/getactorstates

getactorstates

Returns actor state proxies.

Syntax

getactorstates() -> table

Parameters

This function takes no parameters.

Returns

TypeDescription
tableActor state proxies

Description

getactorstates is part of the Lua states library. Lua state proxies wrap a specific Luau state and forward execution or inspection to threads running in that state.

The call is read-only: it resolves the current value when invoked and does not change the underlying state.

Example

for _, state in ipairs(getactorstates()) do
    print(state)
end

Notes

  • Cross-state execution follows the target state's scheduler and thread rules.