why isn't this chain of events working, i click it once and it does the first change, but when i click on the car sprite it wont change back
ignore the array
Develop games in your browser. Powerful, performant & highly capable.
My guess is that the objects are being created, and destroyed in the same click.
Ticks are quick, order matters.
i figured it would be something like that, but how do i get round it, theres no wait type actions
When you make the action click the system cog, look under Time for Wait.
Its should be:
On object a clicked, system wait 0.10 milliseconds, object spawn b, destroy a.
On object b clicked, system wait 0.10 milliseconds, object spawn a, destroy b.