# INVERT MATRIX

From Macros Wiki

### Command

- INVERT_MATRIX <matrix array>

- Get a transformation matrix that is the invert of a current transformation.

### Parameters

- <matrix array>
- Name of Matrix variable

### Example

- GLOBAL MAT1(12)
- GET_SCALE_MATRIX MAT1, 0.5
- INVERT_MATRIX MAT1

- This will get a matrix that scales to half size. Then get the invert of that matrix.