# Way to hide object (text, mesh) behind a Plane with alpha 0

**URL:** <https://forum.babylonjs.com/t/way-to-hide-object-text-mesh-behind-a-plane-with-alpha-0/26022>\
**Category:** Questions\
**Created:** [December 13, 2021, 10:33am UTC](https://forum.babylonjs.com/t/way-to-hide-object-text-mesh-behind-a-plane-with-alpha-0/26022 "2021-12-13T10:33:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![charliesideroad](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@charliesideroad](https://forum.babylonjs.com/u/charliesideroad)\
**Post date:** [December 13, 2021, 10:33am UTC](https://forum.babylonjs.com/t/way-to-hide-object-text-mesh-behind-a-plane-with-alpha-0/26022/1 "2021-12-13T10:33:56Z")

</div>

I’m hoping the answer is easy.

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 13, 2021, 11:02am UTC](https://forum.babylonjs.com/t/way-to-hide-object-text-mesh-behind-a-plane-with-alpha-0/26022/2 "2021-12-13T11:02:37Z")

</div>

If you want to draw an invisible plane but have objects behind the plane hidden by it, instead of setting `mat.alpha = 0` you should set `mat.disableColorWrite = true` instead.

---

<div class="post-metadata">

**Author:** ![charliesideroad](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@charliesideroad](https://forum.babylonjs.com/u/charliesideroad)\
**Post date:** [December 13, 2021, 11:39am UTC](https://forum.babylonjs.com/t/way-to-hide-object-text-mesh-behind-a-plane-with-alpha-0/26022/3 "2021-12-13T11:39:10Z")

</div>

I did try that at one time, but I now realize that alpha was set to 0,so it didn’t work. I now have alpha set to 1 and it now works, Thanks…
