# Using HasAlpha and Alpha for Object at the same time

**URL:** <https://forum.babylonjs.com/t/using-hasalpha-and-alpha-for-object-at-the-same-time/36570>\
**Category:** Questions\
**Created:** [December 15, 2022, 6:14am UTC](https://forum.babylonjs.com/t/using-hasalpha-and-alpha-for-object-at-the-same-time/36570 "2022-12-15T06:14:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![farukcelim](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/farukcelim/32/27134_2.png) [@farukcelim](https://forum.babylonjs.com/u/farukcelim)\
**Post date:** [December 15, 2022, 6:14am UTC](https://forum.babylonjs.com/t/using-hasalpha-and-alpha-for-object-at-the-same-time/36570/1 "2022-12-15T06:14:08Z")

</div>

Hi, I dress a plane with a texture round image and hide the plane and show only the image. I want to decrease the alpha of the picture, but if I want to decrease the alpha of the picture, the plane becomes visible. How can I use both HasAlpha’s property and alpha’s property at the same time? Please your help.

[Plane Examples | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#Q9VZS9#1229)

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/4/d48ae40773d555cb469ffed1a287e57c8c1a7c0e.png)

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/b/8b37360b6eeec289c9d0ecb6c056850cc57997f4.png)

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [December 15, 2022, 10:11am UTC](https://forum.babylonjs.com/t/using-hasalpha-and-alpha-for-object-at-the-same-time/36570/2 "2022-12-15T10:11:55Z")

</div>

You can use the same texture for the opacity like this:

> **[Babylon.js Playground](https://playground.babylonjs.com/#Q9VZS9%231230)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![farukcelim](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/farukcelim/32/27134_2.png) [@farukcelim](https://forum.babylonjs.com/u/farukcelim)\
**Post date:** [December 15, 2022, 10:24am UTC](https://forum.babylonjs.com/t/using-hasalpha-and-alpha-for-object-at-the-same-time/36570/3 "2022-12-15T10:24:54Z")

</div>

Thanks, that’s great to have. You are very good:).
