As a creator, I was trying to make a new user experience with a HUD that docks UI elements to the left or right side of the screen.
I was using llGetCameraAspect to figure out the width of the screen. However, I discovered that it is impossible as a creator to dock my UI to either side of the screen accurately.
The problem is that the viewer can have Toolbar Buttons that are docked to the sides of the screen. When these are docked, the 'aspect' of the viewport is changed, but llGetCameraAspect does not reflect it. This means that UI elements get covered up by docked Viewer UI.
Being unable to accurately dock HUD UI elements to the side of the screen limits the types of experiences I can build and the quality at which I can build them. I want to meet the higher quality expectations of our new generation of players joining us in 2026 who have grown out of platforms like Roblox where such UI issues do not exist.
I would like a function that can tell me what area of the viewport is unobscured by docked toolbar buttons. This way I can calculate where to place my HUD elements more accurately adapting to an individual users viewport.