Demonstration of a set of option buttons made by cloning a button sprite. Usage: * variables buttonSet1.selection & buttonSet2.selection indicate which button is selected in each group * messages 'buttonSet1.change' & 'buttonSet2.change' are broadcast when the selection changes in that group
The number of buttons in a set can be changed at runtime: see block 'create group of (num_buttons) buttons...' in each buttonSet sprite