# Py5Graphics.reset_matrix()
Replaces the current matrix with the identity matrix.
## Description
Replaces the current matrix with the identity matrix. The equivalent function in OpenGL is `gl_load_identity()`.
This method is the same as [](sketch_reset_matrix) but linked to a `Py5Graphics` object. To see example code for how it can be used, see [](sketch_reset_matrix).
Underlying Processing method: PGraphics.resetMatrix
## Signatures
```python
reset_matrix() -> None
```
Updated on March 06, 2023 02:49:26am UTC