# Overlay in blocks!

**URL:** https://forum.makecode.com/t/overlay-in-blocks/1595
**Category:** Show & Tell
**Created:** [April 3, 2020, 6:44pm UTC](https://forum.makecode.com/t/overlay-in-blocks/1595 "2020-04-03T18:44:54Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Zac](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zac/32/772_2.png) [@Zac](https://forum.makecode.com/u/Zac)
#### Post date: [April 3, 2020, 6:44pm UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/1 "2020-04-03T18:44:54Z")

</div>

Hello!

this was quickly made to experiment with, but I found out how to make _good_ overlays!

> **[overlays](https://arcade.makecode.com/58694-11084-40189-86221)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

  
Again it was thrown together but it might help other people make overlays if they are inexperienced like me and use blocks (not saying all inexperienced people use blocks and I’m not saying you are inexperienced if you use blocks)  
I don’t know why this took me like 30 min, but hey I found out how to make good overlays!

-Zachary

---

<div class="post-metadata">

### Author: ![Blobiy](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Blobiy](https://forum.makecode.com/u/Blobiy)
#### Post date: [April 4, 2020, 3:38am UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/2 "2020-04-04T03:38:39Z")

</div>

I am confuse as to the point of this, is it a heath bar that is showing how it could interact with overlays?

---

<div class="post-metadata">

### Author: ![Zac](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zac/32/772_2.png) [@Zac](https://forum.makecode.com/u/Zac)
#### Post date: [April 4, 2020, 9:22pm UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/3 "2020-04-04T21:22:36Z")

</div>

did you look in the code? it just show how to make overlays…

---

<div class="post-metadata">

### Author: ![Blobiy](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Blobiy](https://forum.makecode.com/u/Blobiy)
#### Post date: [April 7, 2020, 12:37am UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/4 "2020-04-07T00:37:18Z")

</div>

Wait, is I doing a dumb? What’s an overlay?

---

<div class="post-metadata">

### Author: ![Zac](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zac/32/772_2.png) [@Zac](https://forum.makecode.com/u/Zac)
#### Post date: [April 10, 2020, 8:38pm UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/5 "2020-04-10T20:38:51Z")

</div>

Dont worry we all forget thing its like a hud or something that is like a pop up or i dont know how to explain it but its like some thing over your screen

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [April 10, 2020, 9:11pm UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/6 "2020-04-10T21:11:41Z")

</div>

Yeah, for example the life and score are both shown as overlays on top of the screen; unless you set your character’s z index on top of them, they will be shown on top of everything else so that they’re always visible.

---

<div class="post-metadata">

### Author: ![Blobiy](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Blobiy](https://forum.makecode.com/u/Blobiy)
#### Post date: [April 10, 2020, 10:13pm UTC](https://forum.makecode.com/t/overlay-in-blocks/1595/7 "2020-04-10T22:13:49Z")

</div>

OH, cool, thanks, that was a lot more obvious than i thought it was going to be
