rigidbody2d is sleep on moving platform?

Hi…
i want to check if my object is sleep when it on moving platform can any one help…
and thank you.

You can use method isSleeping() to check whether your object’s rigidbody2D is sleeping or not.

This method returns a bool. You can find more information here: Unity - Scripting API: Rigidbody2D.IsSleeping