otherSprite thing

Hi! I’m trying to make it so that the pause screen in my game stops a timer and resumes it when unpaused. I think I know how to do that using on game update blocks, but the problem is that the code that gets executed at the end has a very important and unchangeable use of the otherSprite block, which of course cannot be used outside of the overlap block, which gets stopped and not resumed after pausing as the code there is only executed once after the overlap happens. Any ideas would be greatly appreciated!

2 Likes

Maybe have a variable that keeps track of the timer number, then when its paused that timer gets stopped but when its unpaused the variable sets the timer back to were it was?
That’s…probably not how it works but..Anyone have simpler ideas?

1 Like

Thanks! The issue is that the code I need to resume uses the otherSprite block, so I have to resume it inside the overlap block. That’s what I don’t know how to do. Thank you for the help though!

1 Like