# Reverse in Weft

#### **Reverse**

The **Reverse** function performs two actions on the selected area:

1. **Flips the values** in each column (e.g., top becomes bottom), and
2. **Reverses the order of the rows**, so the last row becomes the first, and vice versa.

This is similar to **rotating the selection around a horizontal axis**—as if flipping it upside down.

| Reverse Example - Before                                                                                                                                                                                                                                                 | After                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p></p><p><img src="https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvDkg_itZXfSAjm0jwH%2Fuploads%2Fo5xu3eN6GfwFMhxLvLWx%2Fimage.png?alt=media&#x26;token=1ad6074c-0e9f-481f-914b-3afe090c2b8e" alt="" data-size="original"></p> | <p></p><p><img src="https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvDkg_itZXfSAjm0jwH%2Fuploads%2FHXuqVQgebO7f6A28Ce5W%2Fimage.png?alt=media&#x26;token=12f14e6d-aca8-4e5a-83a8-af2028cd03b7" alt="" data-size="original"></p> |
