RigidBody2DCanSleep Property |
If true, the body can enter sleep mode when there is no movement. See Sleeping.
Note: A RigidBody2D will never enter sleep mode automatically if its Mode is . It can still be put to sleep manually by setting its Sleeping property to true.
Namespace: Godot