Function RigidBody2D.sleeping

If true, the body is sleeping and will not calculate forces until woken up by a collision or by using applyImpulse or addForce.

bool sleeping() nothrow @property @nogc;

void sleeping (
  bool v
) nothrow @property @nogc;