# otherSprite thing

**URL:** <https://forum.makecode.com/t/othersprite-thing/34973>\
**Category:** Help\
**Created:** [March 28, 2025, 8:53pm UTC](https://forum.makecode.com/t/othersprite-thing/34973 "2025-03-28T20:53:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![4SYLLABLES](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/4syllables/32/21357_2.png) [@4SYLLABLES](https://forum.makecode.com/u/4SYLLABLES)\
**Post date:** [March 28, 2025, 8:53pm UTC](https://forum.makecode.com/t/othersprite-thing/34973/1 "2025-03-28T20:53:04Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Danny\_Devention](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danny_devention/32/30134_2.png) [@Danny\_Devention](https://forum.makecode.com/u/Danny_Devention)\
**Post date:** [March 28, 2025, 11:27pm UTC](https://forum.makecode.com/t/othersprite-thing/34973/2 "2025-03-28T23:27:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![4SYLLABLES](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/4syllables/32/21357_2.png) [@4SYLLABLES](https://forum.makecode.com/u/4SYLLABLES)\
**Post date:** [March 28, 2025, 11:34pm UTC](https://forum.makecode.com/t/othersprite-thing/34973/3 "2025-03-28T23:34:42Z")

</div>

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!
