Seems like newImageRect doesn’t support setReferencePoint
[lua]local w = 50
local h = 100
local group = display.newGroup()
local up = display.newImageRect(“images/up.png”, w, h)
up:setReferencePoint(display.TopLeftReferencePoint)
local box = display.newRect( 0, 0, w + 5, h + 5)
box:setReferencePoint(display.TopLeftReferencePoint)
box:setFillColor( 100, 0, 0, 100 )
group:insert(box)
group:insert(up)
group:setReferencePoint(display.TopLeftReferencePoint)[/lua] [import]uid: 616 topic_id: 7970 reply_id: 307970[/import]