An example of a toggle using an if statement and a variable to control multiple sprites via broadcast.