function onSample() { var button = scene.getBoxById("myDefaultButton"); if (button) { scene.defaultButton = button; } }