What value is Humanoid.MoveDirection and how do I compare it?

When I print out Humanoid.MoveDirection it prints out 3 numbers. Example: 0, 0, 1.

To me it looks like a Vector3 value, but even if it is I don’t know how to compare it.

if v.MoveDirection ~= 0, 0, 0

please help?

You compare it with another vector3 value.

if humanoid.MoveDirection == Vector3.new(0,0,0) then
1 Like