# Function: mirrorY()

[**lifecycle-kit**](https://jonbogaty.com/lifecycle-kit/api/readme/index.md)

***

[lifecycle-kit](https://jonbogaty.com/lifecycle-kit/api/readme/index.md) / [forms](https://jonbogaty.com/lifecycle-kit/api/forms/readme/index.md) / mirrorY


# Function: mirrorY() {#function-mirrory}


> **mirrorY**(`path`): [`Path`](https://jonbogaty.com/lifecycle-kit/api/forms/interfaces/path/index.md)

Defined in: [forms/rules/transform.ts:124](https://github.com/jbcom/lifecycle-kit/blob/074e4e7b8038d3e2de9eb44c4b5b5aee0ef02b48/src/forms/rules/transform.ts#L124)

Mirror across the x axis (y -> -y) — reflects left-to-right.

This is the bilateral one. Because a body runs along +x, the plane of
bilateral symmetry contains that axis, so mirroring a limb to the other side
negates y and leaves x alone: a foreleg stays a foreleg rather than becoming
a hindleg.


## Parameters {#parameters}



### path {#path}


[`Path`](https://jonbogaty.com/lifecycle-kit/api/forms/interfaces/path/index.md)


## Returns {#returns}


[`Path`](https://jonbogaty.com/lifecycle-kit/api/forms/interfaces/path/index.md)
