What's VisibilityEnabler used for?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By genete
:warning: Old Version Published before Godot 3 was released.

I can see it is placed on enemies node of the platform demo from the examples of source code, but I can’t imagine what’s its use.

Documentation doesn’t help too much.

:bust_in_silhouette: Reply From: jospic

I’m not sure, but seems it freezes animations, bodies and particles if current camera is far from its boundary…

:bust_in_silhouette: Reply From: SupToasty

I believe it’s for processes that should only take place when in view of a camera. Like what unfa wants to do here.