# Taking two hearts instead of one

**URL:** <https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467>\
**Category:** Help\
**Created:** [March 3, 2026, 4:07am UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467 "2026-03-03T04:07:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dace1](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@Dace1](https://forum.makecode.com/u/Dace1)\
**Post date:** [March 3, 2026, 4:07am UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/1 "2026-03-03T04:07:10Z")

</div>

Hi my game seems to be taking two hearts instead of 1 on an overlap event. [https://makecode.com/\_MV0Rxz9U3Rjj](https://makecode.com/_MV0Rxz9U3Rjj)

---

<div class="post-metadata">

**Author:** ![xInsqne1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xinsqne1/32/34060_2.png) [@xInsqne1](https://forum.makecode.com/u/xInsqne1)\
**Post date:** [March 3, 2026, 7:48pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/2 "2026-03-03T19:48:35Z")

</div>

Welcome to the forums @Dace1 ! I believe your issue is not having a pause when the player gets hurt.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/f/b/fb3e07f4fe4c056a9c520429b042cb894c4b5169.png) See the “location Cooldown”? You need something similar for your own game, so it only takes one heart. Hope this helps you out!

---

<div class="post-metadata">

**Author:** ![primegames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/primegames/32/29615_2.png) [@primegames](https://forum.makecode.com/u/primegames)\
**Post date:** [March 3, 2026, 7:48pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/3 "2026-03-03T19:48:39Z")

</div>

![Screenshot 2026-03-03 9.41.51 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/8/a8facf04042f43246460c3b4d0b89fce0dd36054.png)

change it to 100 Ms

---

<div class="post-metadata">

**Author:** ![javascriptnerd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/javascriptnerd/32/35334_2.png) [@javascriptnerd](https://forum.makecode.com/u/javascriptnerd)\
**Post date:** [March 3, 2026, 7:48pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/4 "2026-03-03T19:48:40Z")

</div>

I don’t know why that would happen

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [March 3, 2026, 7:48pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/5 "2026-03-03T19:48:43Z")

</div>

![Screenshot 2026-03-03 1.11.30 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/4/04530c78794d0c9e8643b2e8441bc961701c3280.png)

use the ghost through tiles it makes it so the on overlap with tile does not count and then later set it to false so you can hit the I assume lava again

---

<div class="post-metadata">

**Author:** ![Dace1](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@Dace1](https://forum.makecode.com/u/Dace1)\
**Post date:** [March 4, 2026, 4:14am UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/6 "2026-03-04T04:14:11Z")

</div>

Unfortunately this does not seem to change anything

---

<div class="post-metadata">

**Author:** ![Dace1](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@Dace1](https://forum.makecode.com/u/Dace1)\
**Post date:** [March 4, 2026, 4:14am UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/7 "2026-03-04T04:14:20Z")

</div>

Interesting, I found the timer extension but where did you get the tilemap data extension? thnx!

---

<div class="post-metadata">

**Author:** ![Dace1](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@Dace1](https://forum.makecode.com/u/Dace1)\
**Post date:** [March 4, 2026, 5:25pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/8 "2026-03-04T17:25:43Z")

</div>

Yes this worked! Thanks so much!

 ![1](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/3/6/36ed9f5b74916b1299806e87ec5119c533ea205d.png)

---

<div class="post-metadata">

**Author:** ![xInsqne1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xinsqne1/32/34060_2.png) [@xInsqne1](https://forum.makecode.com/u/xInsqne1)\
**Post date:** [March 4, 2026, 5:36pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/9 "2026-03-04T17:36:24Z")

</div>

[https://github.com/neintoes/arcade-tile-data](https://github.com/neintoes/arcade-tile-data) ← This is the tile data extension your lookin’ or. Its amaazing for tiles. If you need a more exact example of what I mean, use that where the player overlaps the tile and you should be good to go!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/9/093c6811e6e55fd157c2a47230080abda625d6fa.png)

---

<div class="post-metadata">

**Author:** ![Dace1](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@Dace1](https://forum.makecode.com/u/Dace1)\
**Post date:** [March 5, 2026, 6:37pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/10 "2026-03-05T18:37:52Z")

</div>

Awesome! Thanks for the info.

---

<div class="post-metadata">

**Author:** ![xInsqne1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xinsqne1/32/34060_2.png) [@xInsqne1](https://forum.makecode.com/u/xInsqne1)\
**Post date:** [March 5, 2026, 7:24pm UTC](https://forum.makecode.com/t/taking-two-hearts-instead-of-one/42467/11 "2026-03-05T19:24:32Z")

</div>

No problem @Dace1! Glad I could help someone with an easy problem like this lol.
