# JSPoint

(point)

## Overview

The `JSPoint` object represents a point in a 2D coordinate system, defined by its `x` and `y` coordinates. It provides a simple and intuitive interface for working with positions in scripting environments.

## Properties Summarized

| Type                                                                         | Name    | Summary               |
| ---------------------------------------------------------------------------- | ------- | --------------------- |
| [Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number) | [x](#x) | Get/Set x coordinate. |
| [Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number) | [y](#y) | Get/Set y coordinate  |

## Properties Detailed

### x

Get/Set x coordinate.

**Type**\
[Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number) x coordinate

**Sample**

```js
point.x
```

### y

Get/Set y coordinate

**Type**\
[Number](https://docs.servoy.com/reference/servoycore/dev-api/js-lib/number) y

**Sample**

```js
point.y
```

***
