Forum Discussion

JohnHancock's avatar
JohnHancock
Community Member
11 years ago

Change States When Object is Clicked on Multiple Times

Is there a way to change the state of the same object multiple times, simply by clicking on the object? For example, I want to change a shape from red to blue to green by clicking on the shape. This should be continuous. So as long as I keep clicking the colors will change in order.  

I am guessing I have to use variables?

Thanks

John