GUI Rectangle remains stable

Hello. When I zoom in or out from the stage, the button on the screen zooms in and out. How can I prevent this? How do I make the button stay fixed? I request your help.

Simple GUI in fullscreen mode | Babylon.js Playground (babylonjs.com)

As I understand, I would attach a new transform node on wanted position above your mesh and call linkWithMesh with the node instead of your mesh. This way linkOffset can be 0.

Example PG:

Or use GUI Texture Mode:

For Texture Mode: Optionally enable billboard mode if you want.

4 Likes

Hello @farukcelim just checking in if your question was answered?