Cancel destroy actor if player can see

Hi, is there a way to stop the destroy actor if the player can still see the actor?

I have an endless runner that spawns tiles ahead of the player and destroys the ones behind the player after a delay. However I cannot seem to figure out how to stop the actor from being destroyed if it is still visible, which it is on the pause/score screen.

Thank you.

Can’t you just have the pause/score screen widget set a boolean variable on the GameInstance called “MenuShown” to true in its constructor or BeginPlay, and then after the Delay node in your tile blueprint, have it access your GameInstance (cast to your custom class) and get the value of that variable? If true then don’t branch to the Destroy function.
Then in the menu widget’s Destroy event, set MenuShown to false.