# GetLocalBottom()

> Returns the y coordinate of the bottom edge of this RectTransform in its parent's coordinate space.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public float GetLocalBottom()
```

### Returns

| Type                                                          | Description                                                                                                                                                                                                    |
| ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The y coordinate of the bottom edge, measured from the lower-left corner of the parent RectTransform's rect. If there is no parent RectTransform, returns the value relative to the element's own rect origin. |

### Remarks

All four edge-position methods — [RectTransform.GetLocalBottom](/engine/6000.6/script-reference/unityengine/recttransform/getlocalbottom.md), [RectTransform.GetLocalTop](/engine/6000.6/script-reference/unityengine/recttransform/getlocaltop.md), [RectTransform.GetLocalLeft](/engine/6000.6/script-reference/unityengine/recttransform/getlocalleft.md), and [RectTransform.GetLocalRight](/engine/6000.6/script-reference/unityengine/recttransform/getlocalright.md) — share the same coordinate system, whose origin is at the lower-left corner of the parent rect. Use [RectTransform.SetLocalBottom](/engine/6000.6/script-reference/unityengine/recttransform/setlocalbottom.md) to move the bottom edge to a specific position without changing the element's size.

Additional Resources: [RectTransform.GetLocalTop](/engine/6000.6/script-reference/unityengine/recttransform/getlocaltop.md), [RectTransform.GetLocalLeft](/engine/6000.6/script-reference/unityengine/recttransform/getlocalleft.md), [RectTransform.GetLocalRight](/engine/6000.6/script-reference/unityengine/recttransform/getlocalright.md), [RectTransform.SetLocalBottom](/engine/6000.6/script-reference/unityengine/recttransform/setlocalbottom.md).
