get(name) , method of controller

Get a setting of a controller.

See Controller settings. You can also use this function to store and retrieve controller specific information.

Parameters:
name type description
name string name of the setting
Returns

the current value of this setting.

var myvar = UB.controller(playerID).get("myvar");

See all methods of the api.