I have map like level’s road (select playble levels). UI elements placed beyond the screen have visibility is true. Is it any other way check widget displayed on screen or it placed beyond the screen?
As of 4.9 I believe (may have been 4.10) - widgets that are off-screen have their visibility set to hidden and are no longer ticked, so they can’t manage themselves if they’re off screen. The simplest and most efficient way to do this is have one master widget that has all the smaller widgets as it’s children, and to “tick” their position / update in the master widgets’ tick function.
As for checking if the widget is off-screen, you can simply test to see if it’s position is > or < the viewport size. (GetWorld()->GetGameViewport()->GetSize())
deleted deleted deleted