getParent().removeChild(this);
if(getParent() != null) getParent().removeChild(this);
    public void respondMousePress(PInputEvent event)    {        getParent().removeChild(this);        t.respondMousePress(pushParentNode(event,t));    }