Get component height in expression

Is there any good way of accessing a component height in an expression?

If I try and to {ComponentName.height} it errors out. The only way I’ve been able to get ahold of the height is using a runScript(‘self.heigh’). This is specifically on a linear scale component.

Thanks!

I use the same method as you. runScript("self.getHeight()",0)

I don’t know of another way.