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

# Screen

> Represents a physical display/screen.

## Constructor

```typescript
Screen(): Screen
```

### Returns

`Screen`

## Methods

### dimensions()

```typescript
dimensions(): [number, number, number, number]
```

Returns the dimensions of the screen in pixels.

The return value is `[x, y, width, height]`.

#### Returns

`[number, number, number, number]`

### fromCurrentMouseLocation()

```typescript
fromCurrentMouseLocation(): Screen
```

Returns the screen identifier for the screen on which the mouse
is located. If the mouse is not on any screen, the main screen
is returned.

#### Returns

`Screen`

### mainScreen()

```typescript
mainScreen(): Screen
```

Returns the screen identifier for the main screen.

#### Returns

`Screen`
