# DeleteObjectTree

## Description

Deletes the object at the given ID, if the object doesn't exist then this command does nothing. This command also deletes any child objects that were created when this object was loaded, and any objects that are currently attached to this object from using FixObjectToObject or FixObjectToBone.

## Definition

DeleteObjectTree( objID )

void agk::DeleteObjectTree( UINT objID )

## Parameters

- objID - The ID of the object to delete.