---
title: SKPhysicsJointLimit
framework: spritekit
role: symbol
role_heading: Class
path: spritekit/skphysicsjointlimit
---

# SKPhysicsJointLimit

A joint that imposes a maximum distance between two physics bodies, as if they were connected by a rope.

## Declaration

```swift
class SKPhysicsJointLimit
```

## Topics

### Creating a Limit Joint

- [joint(withBodyA:bodyB:anchorA:anchorB:)](spritekit/skphysicsjointlimit/joint(withbodya:bodyb:anchora:anchorb:).md)

### Configuring a Limit Joint

- [maxLength](spritekit/skphysicsjointlimit/maxlength.md)

## Relationships

### Inherits From

- [SKPhysicsJoint](spritekit/skphysicsjoint.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Physics Joints

- [Working with Inverse Kinematics](spritekit/working-with-inverse-kinematics.md)
- [SKPhysicsJoint](spritekit/skphysicsjoint.md)
- [SKPhysicsJointFixed](spritekit/skphysicsjointfixed.md)
- [SKPhysicsJointPin](spritekit/skphysicsjointpin.md)
- [SKPhysicsJointSliding](spritekit/skphysicsjointsliding.md)
- [SKPhysicsJointSpring](spritekit/skphysicsjointspring.md)
