Here is what I have. It works but only once.
Basically, I have a button. When I press the button a door opens. When I press it again it closes. If I press it again, it should open again...etc. ad infinitum
I got it to open once, close once, then that's it.
The door is just a tiled object and when I press the button the first time, it brings it forward on the layer and when I click it again it puts it to the bottom.
I know I need some kind of loop but not sure how to do this.
If I could use BASIC like commands in the even sheet, I would do a "GOTO 1" after the last line <img src="{SMILIES_PATH}/icon_e_geek.gif" alt=":geek:" title="Geek" />
Here is what I have as an event to the button.
imgur.com/a/VroYW
Maybe I need to be using sprites or something for this.
Thanks for helping this old n00b out <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" />