can a HUD butten hide an actor in game?

Here. Make a new widget and put a button in the widget:

Notice the green buttons at the bottom, I clicked the ‘on clicked’ one, and put this code in:

It does this:

297967-hide-actors.gif