scene -> a Scene , method of UB

Get the current scene.

Returns

the current Scene instance.

// Set the background image for the current scene

UB.scene.set("background.image","images/bluesky.png");

See all methods of the api.