# DrawText with Transparent Background

**URL:** <https://forum.babylonjs.com/t/drawtext-with-transparent-background/5521>\
**Category:** Questions\
**Created:** [September 7, 2019, 10:17pm UTC](https://forum.babylonjs.com/t/drawtext-with-transparent-background/5521 "2019-09-07T22:17:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nogalo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nogalo/32/120_2.png) [@nogalo](https://forum.babylonjs.com/u/nogalo)\
**Post date:** [September 7, 2019, 10:49pm UTC](https://forum.babylonjs.com/t/drawtext-with-transparent-background/5521/2 "2019-09-07T22:49:00Z")

</div>

Hi.

Maybe this can help you

> [@GUI elements attached to control no alpha?](https://forum.babylonjs.com/t/gui-elements-attached-to-control-no-alpha/5055/2):
>
> Hi @i73 You can get a corrected alpha by dividing by parent’s alpha (does not work if parent is 0) [https://www.babylonjs-playground.com/#XCPP9Y#1318](https://www.babylonjs-playground.com/#XCPP9Y#1318) Or you can separate the rectangle from the textblock, and put them in a shared container [https://www.babylonjs-playground.com/#XCPP9Y#1319](https://www.babylonjs-playground.com/#XCPP9Y#1319)

---

_[View the full topic](https://forum.babylonjs.com/t/drawtext-with-transparent-background/5521)._
