how to remove an oject of its group, NOT romeve IT permenantly

sorry if this question is to noobish, but i cant seem to find is or how to remove an oject of its group, NOT romeve IT permenantly.

I am trying to set propoties to a group of photos, but if a user selects one, that one will no longer be a part of that group but it is still visable and whatnought.

i have read the group references over and over and i cant find the answer please help me
[import]uid: 123133 topic_id: 22695 reply_id: 322695[/import]

Untested, but…

If you insert the object into a new group, it will ‘move’ rather than be deleted.

So if your object is myObj and you group it by

myGroup:insert(myObj)

you should be able to ungroup it by

display:insert(myObj)
or
myOtherGroup:insert(myObj) [import]uid: 108660 topic_id: 22695 reply_id: 90536[/import]

Exactly as jeff472 says: just insert the photo/object into another group, and it will be removed from the previous one. Also remember that when you insert any object into a group, by default it goes into the front-most “layer” (z-index) of that group, but you can place it to the back of the group (or front) by using object:toBack() or object:toFront() respectively.

Brent Sorrentino
Ignis Design
[import]uid: 9747 topic_id: 22695 reply_id: 90538[/import]

oh my God thank you. It worked :wink:

and thanks for the advice Ignis [import]uid: 123133 topic_id: 22695 reply_id: 90540[/import]