Hello. This is probably an easy question. I have a button that turns a movieclip on and off. I want to be able to use the same button to turn this on/off. I figured you could use the if/else statements but can’t seem to figure it out. Basically, when the mc is on, the button should turn it off, and vice versa. I have been using an ugly work around for this and I’m just looking for a cleaner, more proper way.
do you mean make it visible/invisible? You probably want to create a variable that sets the state of the movieclip at the beginning (e.g. variable = on), then you can say if variable = on set visibility to false and variable = off, else if variable = off set visibility to true and variable = on.