---
title: physicsBody
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sknode/physicsbody
---

# physicsBody

The physics body associated with the node.

## Declaration

```swift
var physicsBody: SKPhysicsBody? { get set }
```

## Mentioned in

Configuring a Physics Body Getting Started with Physics Bodies

## Discussion

Discussion The default value is nil, which indicates that the node does not participate in the physics simulation at all. If a physics body is provided, when the scene’s physics are simulated, the physics body updates the node’s position and rotates the node.

## See Also

### Adding Physics Behaviors

- [Getting Started with Physics Bodies](spritekit/getting-started-with-physics-bodies.md)
