# rect IntersectRects(rect, rect)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
rect IntersectRects(rect, rect)
```

## Description

IntersectRects returns componentwise signed max,max,min,min of its two four-dword rectangles.

## Parameters and return type

**Return type:** `rect`

| Position | Type |
| --- | --- |
| 1 | `rect` |
| 2 | `rect` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-54f75ede7b5e75.md)
- [JSON](/imperivm/CKS/api/entries/api-54f75ede7b5e75?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
