---
title: linearMotionAlongZ
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/physicscustomjoint/linearmotionalongz
---

# linearMotionAlongZ

The linear motion limits along the z-axis.

## Declaration

```swift
var linearMotionAlongZ: PhysicsCustomJoint.MotionLimit
```

## Discussion

Discussion This property sets the limits of pin1 along the z-axis of pin0.
