Hi im wondering how to create a button that performs two separate actions depending on a state, like an on/off switch. For instance, say ButtonA turns a box blue when clicked and released. Clicking on ButtonA again turns the box green. Clicking on the box a third time returns the box to blue and so on. Any thoughts on this? Is it an if/then?