How can I remove an object from a group, but leave it on screen;
group:remove(index) appears to remove the object from the screen.
Alternatively is there away to remove an entire group but leave all the objects on screen?
thanks [import]uid: 36590 topic_id: 10225 reply_id: 310225[/import]
display.getCurrentStage():insert( myGroup )
And do that in a while numChildren > 0 loop for the group children [import]uid: 4596 topic_id: 10225 reply_id: 37302[/import]
Hmmm, thanks but that doesn’t work, but I can see why it should, here’s my code
display.getCurrentStage():insert(movingGroup)
for removeMe= movingGroup.numChildren,1,-1 do
movingGroup:remove(removeMe)
end
The display objects don’t seem to get added back to the stage before they are deleted from the group (and the screen)
Where am I going wrong?
[import]uid: 36590 topic_id: 10225 reply_id: 37349[/import]