---
title: linearMotionAlongX
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/physicscustomjoint/linearmotionalongx
---

# linearMotionAlongX

The linear motion limits along the x-axis.

## Declaration

```swift
var linearMotionAlongX: PhysicsCustomJoint.MotionLimit
```

## Discussion

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