get(name) -> {int|float|boolean|string} , method of scene

Get a setting from the scene.

See Game settings

Parameters:
name type description
name string name of the setting
// get the gravity force in X direction

var gx = UB.scene.get("gravity.x");

See all methods of the api.