Adjust postion for GUI button

Hey :blush:

How to adjust the x/z position for the GUI buttons…having difficulty doing so. Want them to be closer to the box mesh somewhat like a porch mat.

https://playground.babylonjs.com/#HTWJPL#56

Thank ya :heart:

2 Likes

Hey there :slightly_smiling_face:, for example you can set “left” to “100px” and “-100px” to position the buttons 100 px closer to the center, and setting “top” to “-40px” will move them 40 px up.

https://playground.babylonjs.com/#HTWJPL#58

3 Likes

Hey there :blush:

Thank ya soo very much this helped alot. I changed the coordinates a tad more and now they are where I want them to be :blue_heart:

2 Likes