getgamename
Name of the current place (reads the Workspace name), or "Unknown".
Syntax
getgamename() -> string
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
string | String |
Description
getgamename is part of the Core functions library. Core globals are installed in every executor thread and drive output, scheduling and identity.
The call is read-only: it resolves the current value when invoked and does not change the underlying state.
Example
print(getgamename())
Notes
- Core globals are available in every script.