Makes the buttons of the scale appear as clickable text buttons that are framed when selected. If you passed a number when creating the scale, the buttons will be labeled with numbers (starting from 0).


[js highlight=”2″ try=”true”]newScale(“score”, 6)
.settings.before( newText(“score label”, “Score: “) )
.settings.after( newText(“score text”, ” / 5″) )

Adds a scale with 6 horizontally aligned buttons to the screen, labeled from 0 to 5, and waits for a click on one of them.