Is there any better form of visibility detection than Visibility notifier and visibility enabler?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AfterCadaver

I have been using visibility enabler and notifier for my games for a while. And for a while, I have known that both work well in bigger games with larger scenes but when a field is small and the object is just outside of the screen’s bounds it can still move and go where it’s not supposed to.

Normally that’s alright. But in a zelda-like game I am working on the enemies are able to follow to player into another room instead of being frozen and reset.

Is there any currently more effective method for this?