> ## 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

> Describes how coordinates passed to should be interpreted.

Describes how `(x, y)` coordinates passed to
`Screenshot.toGlobalPhysicalPixels` should be interpreted.

## 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`
