Hi guys!
I’ve got this code
local group0=display.newGroup()
local img=display.newImage("foo.png")
group0:insert(img)
print("img X: "..img.x)
print("group X: "..group0.x)
I don’t understnad why the x coordinate of the image is different that the one of the group (containing only that image)
This cause me a problem in the code i’m trying to develop, cause sometimes I work with images and sometimes with images in groups.
I appreciate any help!
Thanks in advance! [import]uid: 44013 topic_id: 8862 reply_id: 308862[/import]