I have an enemy, animation consists of 15 frames, but i need it to be clickable only between frames 9 and 13.
Any idea how can I achieve this?
I tried breaking it into 3 different sprites, but has proven to be much more complicated, and getting them to load one after the other seems like much more trouble. Here, the idea was to have the initial animation run, when finished start animation 2 (which is the clickable one), and when that is finished, start animation 3. If the object is clicked during animation 2, then spawns another object.