Skip to content
State proxiesOverview

getgamestate

Represents discovery of the application state.

Details#

Returns the available main-runtime state proxy, or nil when it cannot be resolved. Proxy availability and permission to execute in another VM are separate matters.

Examples#

Example

Luau
local state = getgamestate()
print(state ~= nil)