I am trying to cycle through 3 images within the same SVG object using an Instance Variable. Like 1-2-3- 1-2-3- 1-2-3. However after 3 i am getting an error in the console and instead of 1, the svg is skipping to 2. What am i doing wrong? Project file can be downloaded at https://www.dropbox.com/s/m5bkio5j6d401lu/svgcycle.c3p?dl=0
Develop games in your browser. Powerful, performant & highly capable.
It runs both the events in same tick because both events are true when you tap at 3. You should add the conditions into a single event as sub events with an Else.
Thank you so much it works now like you suggested