Other great resources: Official JS API docs, Scripting Forum
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Current »
var labelName = getLabel(object);
Game object
The object to inspect.
If the object has a label, the name of the label will be returned.
If an object has multiple labels, only the first label found will be returned.
null
Be careful not to call a variable "label" as that's also the name of a global function: label()
var theLabel = getLabel(someObject);
Requires:
Jump to:
Related Objects:
Create them:
List them:
Retrieve their objects:
Monitor them:
Remove them: