---
title: "applyTorque(_:)"
framework: spritekit
role: symbol
role_heading: Instance Method
path: "spritekit/skphysicsbody/applytorque(_:)"
---

# applyTorque(_:)

Applies torque to an object.

## Declaration

```swift
func applyTorque(_ torque: CGFloat)
```

## Parameters

- `torque`: The amount of torque, in Newton-meters.

## Discussion

Discussion This method generates an angular acceleration on the body without causing any linear acceleration. The force is applied for a single simulation step (one frame).

## See Also

### Applying Forces and Impulses to a Physics Body

- [Making Physics Bodies Move](spritekit/making-physics-bodies-move.md)
- [applyForce(_:)](spritekit/skphysicsbody/applyforce(_:).md)
- [applyForce(_:at:)](spritekit/skphysicsbody/applyforce(_:at:).md)
- [applyImpulse(_:)](spritekit/skphysicsbody/applyimpulse(_:).md)
- [applyAngularImpulse(_:)](spritekit/skphysicsbody/applyangularimpulse(_:).md)
- [applyImpulse(_:at:)](spritekit/skphysicsbody/applyimpulse(_:at:).md)
