I’m unable to change a rectangle “height” property after creating it, but I can change its width fine.
local rec = display.newRect( sceneGroup, 500, 500, 2, -700 ) -- height is -700, width is 2 rec.anchorY = 0 rec.anchorX = 0 rec.height = -200 rec.width = 10
When I run the app, the width becomes “10”, but the height stays the same which is “-700”
What am I missing here ?!