Skip to main content

Execute_DestroyChildrenObjects

Description

Destroys all child objects of the BaseObject that have the specified object tag (S1).

Parameters

ParameterDescription
BaseObjectThe parent object whose tagged children will be destroyed
S1Object tag that child objects must have to be destroyed

Examples

DescriptionBaseObjectCommandS1
Remove all children with "Trash" tag from TargetTargetDestroyChildrenObjectsTrash
Destroy children tagged "Food" from SelfSelfDestroyChildrenObjectsFood
Clear "Ingredient" tagged children from Target containerTargetDestroyChildrenObjectsIngredient