# direction

> The rotation direction where X = cos(rotation) and Y = sin(rotation). This should always be normalized otherwise warnings will be produced when used, however this is not enforced. See _isNormalized and PhysicsRotate.Normalized.

## Definition

* **Type:** Field
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public Vector2 direction
```

### Remarks

This is exposed directly as a field rather than a property as it is extremely unlikely to ever change and causes usability issues as a property.
