3D Lingo Dictionary > C-D > deleteGroup

 

deleteGroup

Syntax

member(whichCastmember).deleteGroup(whichGroup)
member(whichCastmember).deleteGroup(index)

Description

3D command; removes the group from the cast member and the 3D world. Children of the group are removed from the 3D world but not deleted.

It is not possible to delete the group named World, which is the default group.

Example

The first line of this example deletes the group Dummy16 from the cast member Scene. The second line deletes the third group of Scene.

member("Scene").deleteGroup("Dummy16")
member("Scene").deleteGroup(3)

See also

newGroup, child, parent