hey, i am wondering if there is anyway in Corona in determining the total width (x) or height (y) of the items in a group, for example i have two background images which have the dimensions of 480 x 320
[code]
local game = display.newGroup();
game.x = 0;
game.y = 0;
so the total width (x) of the group (game) would be 600 right…is there a method that will find this out for me?, or a way to do this? [import]uid: 34863 topic_id: 7199 reply_id: 307199[/import]
@jmp909 - that method doesnt seem to work when i overlap two backgrounds that are 480 x 320, for example i set background 2 to have an x position of 120; so the total width of the group should be 600, however it still returns a value of 960
@singh206 - this method returns the value of zero everytime [import]uid: 34863 topic_id: 7199 reply_id: 25392[/import]