How to remove frame of AdvancedTexture

Hi!
How to remove AdvancedTexture frame in this case?
https://www.babylonjs-playground.com/#5ZCGRM#585

I can only do this:

advancedTexture.rootContainer.alpha = 0;
button.image.alpha = 0.99;
button.image.alpha = 1;

But it looks like a crutch :smiley:

what do you mean by frame? I’m not sure to understand what you want to achieve

I want to remove this border
image

button.thickness = 0;

https://www.babylonjs-playground.com/#5ZCGRM#619

3 Likes