property label

(r/w) string label;

Typ

Zugriff

This property sets or returns the current label of the box, hence stored in the box's "label" attribute. Most controls display this label in one way or another.
var btn = scene.getBoxById("theButton");
if (btn)
{
    btn.label = "DONE!";
}