i want to create select btn to show that this btn is selcted how do i create that and i aslo want to give the shadow to my rectangle that i have created and when i write the code in the scrpit to make the shadow the rectangle gets dis appear i cant understand that
Please provide a simplified playground of your button code.
1 Like
https://playground.babylonjs.com/#SI13I2#9 this is the project i want to show that on btn click it reflects that the particular btn is being used or is selcted btn is selected and
One way would be to add a border to the selected button. In the following playground buttons 2 and 3 have been done, lines 234 - 273
Thanks for the help