- freezeBodies
bool freezeBodies [@property getter]
bool freezeBodies [@property setter]
If true RigidBody2D nodes will be paused.
- pauseAnimatedSprites
bool pauseAnimatedSprites [@property getter]
bool pauseAnimatedSprites [@property setter]
If true AnimatedSprite nodes will be paused.
- pauseAnimations
bool pauseAnimations [@property getter]
bool pauseAnimations [@property setter]
If true AnimationPlayer nodes will be paused.
- pauseParticles
bool pauseParticles [@property getter]
bool pauseParticles [@property setter]
If true Particles2D nodes will be paused.
- physicsProcessParent
bool physicsProcessParent [@property setter]
- physicsProcessParent
bool physicsProcessParent [@property getter]
- processParent
bool processParent [@property getter]
bool processParent [@property setter]
Enable certain nodes only when visible.
The VisibilityEnabler2D will disable RigidBody2D, AnimationPlayer, and other nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler2D itself.