Currentframe Not Showing Correct Frame?

slide:pause() slide2:pause() print("slide.currentFrame:" .. slide.currentFrame) print("slide2.currentFrame:" .. slide2.currentFrame)

I’m using the code above and the sprite animation stops just fine and slide.currentFrame always returns the right value, but slide2 never returns the correct value. Is there some kind of gotcha that I’m missing?

I’m an idiot, after 2 hours of trying to search though all the docs etc I posted this thread. Then 30 seconds later I realize that in my code I was resetting the slide2 from when I was trying to debug it. So I removed that debugging line and all is well now.

I’m an idiot, after 2 hours of trying to search though all the docs etc I posted this thread. Then 30 seconds later I realize that in my code I was resetting the slide2 from when I was trying to debug it. So I removed that debugging line and all is well now.