I add a widget to viewport, and when its visible it updates its screen location to the actor that created the widget. If that actor goes off screen, the widget gets collapsed. I have a boolean on the actor for “selected” and I want the widget to become visible when the actor comes back into viewport.
I first had this working, then added code to switch between Maximized and Minimized versions of the widget,depending on if actor is selected. When I did this, if actor is selected, proper widget is set visible, and then actor moves offscreen the widget collapses.
Am I missing setting some type of setting for widgets that go offscreen?
It is possible at one point I created blueprint code to collapse widget when not in viewport, but I have looked through all mhy blueprint code and could not find anything like that.
Just wanting to know if I am missing something or need to keep looking through code to find my own code performing the action?