# posX

> The X coordinate of the detail object in the Terrain's local space. To get the X in world space, add this value to position X of the Terrain.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public float posX
```
