This property can only be read from. Attempting to write to it will cause an error.
This item is not replicated across Roblox’s server/client boundary.
MoveDirection is a read-only property that describes the direction a
Humanoid is walking in, as a unit vector along the X/Z axis. The direction is described in world space.
Because the property is read-only, it cannot be set by a
The animation below visualizes the property:
Walking Camera Bobble Effect
This LocalScript makes the camera bobble as the player’s character walks around, utilizing both the Humanoid’s CameraOffset and MoveDirection.
It should be parented inside of the StarterCharacterScripts so that it is distributed into a player’s character as expected.