set(name, value) , method of controller

Change a setting of a controller.

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

name type description
name string name of the setting
value primitive can be a integer,float,string or boolean
UB.controller(playerID).set("edge.stroke", "#F00");

See all methods of the api.