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

# screenshotCropped

```typescript
screenshotCropped(x: number, y: number, width: number, height: number, hideCursor: boolean): Screenshot
```

Takes the screenshot of a cropped region of the workspace.

## Parameters

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

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

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

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

<ResponseField name={"hideCursor"} type={"boolean"} required />

## Returns

`Screenshot`
