CreateImageOnlyButton ang png Alpha - shows border

https://www.babylonjs-playground.com/#XCPP9Y#1182

Hello everyone! I have a little question involving buttons. I’ve just started into them and I am doing some testing.

In the playground you can see an Image only button. The png is alphaed and has no white border. But a border shows up - it seems to be a feature of buttons.

I am wondering - is there a way to turn off this or is there a way to use a GUI.image and turn it into a button?

Thank you :slight_smile:

1 Like

You can set the border color to transparent:
https://www.babylonjs-playground.com/#XCPP9Y#1183

Jesus wept. Thank you deltakosh!

1 Like