Skip to main content

Engine

Engine exposes read-only runtime identity values:

ValueTypeDescription
Engine.NamestringIdentifies editor Play Mode or the PS1 runtime implementation.
Engine.ApiVersionintegerIdentifies scripting-contract compatibility for diagnostics.
function Start(gameObjectId)
Log.Print("Runtime: " .. Engine.Name)
end

Use these values in diagnostics and support reports. Gameplay must not branch on the runtime name; editor and PS1 behavior should remain equivalent through the public API.