property defaultButton

(r/w) box defaultButton;

Typ

Zugriff

This property gets and sets the current 'default' button for this scene.
function onSample()
{
    var button = scene.getBoxById("myDefaultButton");
    if (button)
    {
        scene.defaultButton = button;
    }
}