- Home /
How do you get the height dimension of the asset label box in the game inspector
I am writing a custom editor with a scroll area. Currently I am using screen.height to determine the height of the inspector. However screen.height includes the asset label section at the bottom of the inspector. The asset label box can have multiple heights depending on when it is open or minimized, is there a way to get the current height or at the least the current state of the asset label box? Or is there is a better way to get the screen area that is available to work in?
Hello @TheChaosbringer, I have the same problem and have not found a solution yet. I wish to display an error at the bottom of the inspector window but the Asset Labels tab can obscure it if expanded. Have you had any luck finding out the height of the Assets Labels?
Your answer
![](https://koobas.hobune.stream/wayback/20220613181500im_/https://answers.unity.com/themes/thub/images/avi.jpg)