2D How do you make enemies not shoot until on screen?

How do you make enemies not shoot until on screen with blueprints?

Here is an answer that will tell you how to detect if an actor is on the screen, and then you can modify a boolean in them or something that let’s them shoot.

-Testy