# Javascript: Point.x Property

> The x-coordinate of the point.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: Point.x Property
- **133 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/point/x-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/point/x-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/point/x-property/llms-full.txt

---

### Description

The x-coordinate of the point.

### Syntax

```javascript
<number> Point.x
```

### Examples

The following example demonstrates `Point.x` in a practical document-editing workflow. The x-coordinate of the point.

```javascript
function inspectX(point) {
    const x = point.x;
    console.log("x:", x);
}
```

---

## Nearby

- **Previous:** [Point Object](https://docs.textcontrol.com/ds-server/reference/javascript/point/llms-full.txt)
- **Next:** [Javascript: Point.y Property](https://docs.textcontrol.com/ds-server/reference/javascript/point/y-property/llms-full.txt)
