Yuari
Documentation
Docs/Lua states/LuaStateProxy

LuaStateProxy

Proxy objects support Execute(source) and actor lookups.

Syntax

LuaStateProxy

Parameters

This function takes no parameters.

Returns

TypeDescription
tableThe returned collection or table.

Description

LuaStateProxy 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.

This entry describes an object or signal exposed by the library rather than a standalone callable function.

Example

local state = getgamestate()
state:Execute("print('hello from the game state')")
print(state:GetActors())

Notes

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