# Overlapping player and enemy sprite immediately loses all lives inside of change life by -1

**URL:** https://forum.makecode.com/t/overlapping-player-and-enemy-sprite-immediately-loses-all-lives-inside-of-change-life-by-1/18881
**Category:** Help
**Created:** [March 31, 2023, 4:50pm UTC](https://forum.makecode.com/t/overlapping-player-and-enemy-sprite-immediately-loses-all-lives-inside-of-change-life-by-1/18881 "2023-03-31T16:50:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [March 31, 2023, 6:17pm UTC](https://forum.makecode.com/t/overlapping-player-and-enemy-sprite-immediately-loses-all-lives-inside-of-change-life-by-1/18881/4 "2023-03-31T18:17:28Z")

</div>

well you can use the

> **Timer Extention**
>
> microsoft/arcade-timers

end do this

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/084be5952bc2235e8e9b935e3dc693923a881d3a.png)  
however you will lose life once evrey (“The time you put in ms” in this case “500ms”)  
if ever you need more help come

> **Here**
>
> [help with pixel art end math issue's](https://forum.makecode.com/t/help-with-pixel-art-end-math-issues/18809)

---

_[View the full topic](https://forum.makecode.com/t/overlapping-player-and-enemy-sprite-immediately-loses-all-lives-inside-of-change-life-by-1/18881)._
