---
id: "P:cAlgo.API.Point.X"
kind: "property"
type: "T:cAlgo.API.Point"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/Layout/Shapes/Point/X/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Point.X

Member of [Point](https://help.ctrader.com/ctrader-algo/references/Controls/Layout/Shapes/Point/index.md).

## X

Gets or sets the x-coordinate of this Point.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public double X {get;}
```

Python:

```python
point.X: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var point = new Point(120, 40);
Print("X: {0}", point.X);
```

Python:

```python
point = Point(120, 40)
api.Print(f"X: {point.X}")
```

