Deleting an Object

To delete a Visual object just make it invisible: ball.visible = 0

Technical detail: If you later re-use the name ball, for example by creating a new object and naming it ball, Python will be free to release the memory used by the object formerly named ball (assuming no other names currently refer to that object).