How to detect if player is moving.

How do you detect if player is moving with c#

You can check the velocity if you are dealing with a rigid body

Of course this depends on your situation