---
title: showsPhysics
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skview/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

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