    

 ## On this page

  

 

 # save\_snapshot

 Last update: 16.07.2026 

<a id="compolyx.Scene.save_snapshot"></a>

## Scene.save\_snapshot(path, width=None, height=None, draw\_background=False)

Create a snapshot of the scene.

### Parameters

- path: File path.
- width: Width in pixels of the snapshot.
- height: Height in pixels of the snapshot.
- draw\_background: Boolean for whether to draw the background. If ‘False’, the background is white.