---
title: "Rectangle Point"
url: "https://help.maxon.net/ag/en-us/Content/html/Generator_num2D_rect_point.html"
section_path: "Generators > Numeric 2D > Rectangle Point"
description: "Utility Generator to return a 2D point preset out of a given rectangle. This is useful for example when used with the Layer Rect to extract only a point …"
---

# Rectangle Point

## Brief Description

Utility Generator to return a 2D point preset out of a given rectangle. This is useful for example when used with the Layer Rect to extract only a point of the bounding box of a layer.

## Controls

| Parameter / Script Name | Type | Default | Function |
| --- | --- | --- | --- |
| `Enabled / enabled` | Boolean | On |  |
| `Rectangle / rect` |  | 0, 0, 0, 0 |  |
| `X / x_anchor` | Choice | Center | - *Left*<br>- *Middle Left*<br>- *Center*<br>- *Middle Right*<br>- *Right* |
| `Y / y_anchor` | Choice | Center | - *Bottom*<br>- *Middle Bottom*<br>- *Center*<br>- *Middle Top*<br>- *Top* |
| `Horizontal Slide / horiz_slide` | Float | 0 | An offset applied on the output in the unit of half the rectangle size |
| `Vertical Slide / vert_slide` | Float | 0 | An offset applied on the output in the unit of half the rectangle size |
