Get real display object height

When using the scale function it messes with the propertys as shown here

Rect = display.newRect(100,100,100,100) print(Rect.height) timer.performWithDelay(5000,function() Rect:scale(1,2) print(Rect.height) end)

as you see it should print

100

200

but it prints 

100

100

How would I make it print the real height.

Try
print(Rect.height*Rect.xScale)

I think this should work too:

print(Rect.contentHeight)

I prefer contentWidth and contentHeight, which account for scaling. 

Try
print(Rect.height*Rect.xScale)

I think this should work too:

print(Rect.contentHeight)

I prefer contentWidth and contentHeight, which account for scaling.