Enables 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 enabler identified by given [enum Enabler] constant is active.
Sets active state of the enabler identified by given [enum Enabler] constant.
If [code]true[/code], [RigidBody] nodes will be paused.
If [code]true[/code], [AnimationPlayer] nodes will be paused.
This enabler will pause [AnimationPlayer] nodes.
This enabler will freeze [RigidBody] nodes.
Represents the size of the [enum Enabler] enum.