<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKPhysicsJointPin/rotationSpeed",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKPhysicsJointPin(py)rotationSpeed"
  },
  "title" : "rotationSpeed"
}
-->

# rotationSpeed

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

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

## Discussion

The [`frictionTorque`](/documentation/SpriteKit/SKPhysicsJointPin/frictionTorque) property limits the maximum amount of torque that can be applied to the physics bodies.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)