# FreezePositionZ

> Freeze motion along the Z-axis. Limits motion to the XY plane only.

## Definition

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

```csharp
FreezePositionZ = 8
```
