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

Get a setting from the game.

See Game settings

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

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

See all methods of the api.