# FreezePositionY

> Freeze motion along the Y-axis. Limits motion to the XZ plane only.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
FreezePositionY = 4
```
