---
title: rotationSpeed
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skphysicsjointpin/rotationspeed
---

# rotationSpeed

The speed, in radians per second, at which the physics bodies are driven around the pin joint.

## Declaration

```swift
var rotationSpeed: CGFloat { get set }
```

## Discussion

Discussion The frictionTorque property limits the maximum amount of torque that can be applied to the physics bodies.

## See Also

### Configuring a Pin Joint

- [shouldEnableLimits](spritekit/skphysicsjointpin/shouldenablelimits.md)
- [lowerAngleLimit](spritekit/skphysicsjointpin/loweranglelimit.md)
- [upperAngleLimit](spritekit/skphysicsjointpin/upperanglelimit.md)
- [frictionTorque](spritekit/skphysicsjointpin/frictiontorque.md)
