Enable certain nodes only when visible.
The VisibilityEnabler will disable [RigidBody] and [AnimationPlayer] nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself.
Returns whether the specified enabler was set to true or not.
Set an enabler to true for all nodes of its type to be disabled when the VisibilityEnabler is not in view. See the constants for enablers and what they affect.
This enabler will pause [AnimationPlayer] nodes.
This enabler will freeze [RigidBody] nodes.