You can delete the contents and children of an object, or all of the objects in a class, by specifying a clear statement. The position of the cursor(s) is restored to the object's origin; for example:
response to Restart
clear AddKey
Before you clear an object, you should first delete the object and its children from any classes to which they belong, using the delete from class statement (described in Section 3.4).