# WindowPosition

Canonical page: https://www.adaptabletools.com/docs/reference/windowposition

Pixel offset of a window&#39;s top-left corner from the top-left of the viewport.

```ts title="TypeScript"
export interface WindowPosition 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [x](https://www.adaptabletools.com/docs/reference/windowposition.md#x) | `number` | Distance from the left edge of the viewport, in pixels. |
| [y](https://www.adaptabletools.com/docs/reference/windowposition.md#y) | `number` | Distance from the top edge of the viewport, in pixels. |

## Property Details

### x

Distance from the left edge of the viewport, in pixels.

```ts title="TypeScript"
x: number;
```

###### Property Value

`number`

### y

Distance from the top edge of the viewport, in pixels.

```ts title="TypeScript"
y: number;
```

###### Property Value

`number`
