Press delete to delete an object