---
title: showsPhysics
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skrenderer/showsphysics
---

# showsPhysics

A Boolean value that indicates whether the view displays physics-related debugging information.

## Declaration

```swift
var showsPhysics: Bool { get set }
```

## Discussion

Discussion When this debugging option is enabled, each time a frame is rendered, an overlay image is drawn on top of your scene that shows the positions and shapes of any physics bodies visible in the scene.

## See Also

### Enabling Visual Statistics for Debugging

- [showsNodeCount](spritekit/skrenderer/showsnodecount.md)
- [showsDrawCount](spritekit/skrenderer/showsdrawcount.md)
- [showsQuadCount](spritekit/skrenderer/showsquadcount.md)
- [showsFields](spritekit/skrenderer/showsfields.md)
