Engine
engine.get_platform
Shared
Retrieves engine's current platform type
Syntax
local platform = engine.get_platform()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
string | platform | Engine's current platform type: • "client" - indicates client-side execution• "server" - indicates server-side execution |
Examples
engine.print("Platform Type:", engine.get_platform())