---
title: isResting
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnphysicsbody/isresting
---

# isResting

A Boolean value that indicates whether the physics body is at rest.

## Declaration

```swift
var isResting: Bool { get }
```

## Discussion

Discussion This property’s default value is false, but SceneKit’s physics simulation may automatically set it to true if the body is not moving and not affected by any forces. A resting body does not participate in the simulation until another body collides with it or you change its position or velocity or apply a force to it.

## See Also

### Defining When a Body Can Move

- [allowsResting](scenekit/scnphysicsbody/allowsresting.md)
- [setResting(_:)](scenekit/scnphysicsbody/setresting(_:).md)
