> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ScreenshotCoordinateType

> How a screenshot-relative coordinate is expressed: as absolute screenshot-image pixels or normalized to a fixed range.

How a screenshot-relative `(x, y)` coordinate is expressed: as absolute
screenshot-image pixels or normalized to a fixed range. Construct one with
\[`ScreenshotCoordinateType.absolute`] or \[`ScreenshotCoordinateType.normalized`].

## Constructor

```typescript
ScreenshotCoordinateType(): ScreenshotCoordinateType
```

### Returns

`ScreenshotCoordinateType`

## Methods

### absolute()

```typescript
absolute(): ScreenshotCoordinateType
```

Coordinates are in screenshot image pixels (valid range:
`0..=image_width-1`).

#### Returns

`ScreenshotCoordinateType`

### normalized()

```typescript
normalized(range: number): ScreenshotCoordinateType
```

Coordinates are normalized to a fixed range. Many VLMs (Qwen-VL,
UI-TARS, etc.) output grounding coordinates in `[0, range]` rather
than in pixel space. `range` specifies the inclusive upper bound
(e.g. 1000, meaning valid coordinates are `0..=1000`).

#### Parameters

<ResponseField name={"range"} type={"number"} required />

#### Returns

`ScreenshotCoordinateType`
