If I remember right, when I was doing it this way If I kept the esc key down it was switching the widget ON/OFF so I had to do this, you can either use the listen for input action node. the time variable is set to 0, I get it and add it to the delta time and when it reach .5 it allow to remove the widget.
