# How do you draw sprite icons to the screen?

**URL:** <https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630>\
**Category:** Blueprint\
**Tags:** how-would-you-do-it, unreal-engine, UE4, Blueprint, question\
**Created:** [September 13, 2014, 9:54pm UTC](https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630 "2014-09-13T21:54:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VigeoJames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VigeoJames](https://forums.unrealengine.com/u/VigeoJames)\
**Post date:** [September 13, 2014, 9:54pm UTC](https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630/1 "2014-09-13T21:54:44Z")

</div>

I have a simple heart sprite I want drawn to the screen to represent the player’s health. I have looked around and can’t seem to figure this out. Can anyone help point me in the right direction? Thanks!

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [September 13, 2014, 9:59pm UTC](https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630/2 "2014-09-13T21:59:25Z")

</div>

Check out Draw Texture and Draw Material nodes in the HUD blueprint.

---

<div class="post-metadata">

**Author:** ![VigeoJames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VigeoJames](https://forums.unrealengine.com/u/VigeoJames)\
**Post date:** [September 13, 2014, 10:14pm UTC](https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630/3 "2014-09-13T22:14:04Z")

</div>

I can get a material on the screen but I am having trouble with the transparency. When its a sprite its transparent, however, when its a material it has a black background. I am not too familiar with materials so I am unsure how to fix this so that its background is transparent

---

<div class="post-metadata">

**Author:** ![VigeoJames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VigeoJames](https://forums.unrealengine.com/u/VigeoJames)\
**Post date:** [September 16, 2014, 9:36pm UTC](https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630/4 "2014-09-16T21:36:38Z")

</div>

I have figured this out, at least sort of. I made the image with a black background, then when I make a material out of it I masked out the black background so it becomes transparent.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_73a0266e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_73a0266e](https://forums.unrealengine.com/u/anonymous_user_73a0266e)\
**Post date:** [February 8, 2016, 8:50pm UTC](https://forums.unrealengine.com/t/how-do-you-draw-sprite-icons-to-the-screen/293630/5 "2016-02-08T20:50:41Z")

</div>

could you show how your blueprint is now? I’m having trouble to find any tutorial that explain how use a health system with hearts instead of a progress bar. thanks.
