I'm using a single sprite with 14 frames. Each instance has a different initial frame. I want to move to a new frame when mouseover happens but I don't know how to identify the initial frame of each sprite and didn't find any expression for it. Could anyone help me?
Develop games in your browser. Powerful, performant & highly capable.
I thought to use a local variable (numberFrames) and set the frame that each sprite uses. This solves the problem, but I want to know if there a simpler solution. Thanks.