---
title: "Rectangle"
url: "https://help.maxon.net/ag/en-us/Content/html/2D_geometry_rectangle.html"
section_path: "Generators > 2D Geometry > Rectangle"
---

# Rectangle

## Brief Description

Generates a Rectangular path

## Controls

| Parameter / Script Name | Type | Default | Function |
| --- | --- | --- | --- |
| `Enabled / enabled` | Boolean | On |  |
| `Mode / size_mode` | Choice | Center + Edge Offset | - *Center + Edge Offset*: The rectangle is defined by its center point and 4 offsets for each edge<br>- *Center + Size*: The rectangle is defined by its center point and its size<br>- *Top-Left + Bottom-Right*: The rectangle is defined by its top-left corner point and bottom-right corner point |
| `Center / center` | Float 2D | 0, 0 |  |
| `Edge Offset / edge_offset` |  | -100, -100, 100, 100 |  |
| `Size / size` | Float 2D | 200, 200 |  |
| `Top Left / top_left` | Float 2D | -100, 100 |  |
| `Bottom Right / bottom_right` | Float 2D | 100, -100 |  |
| `Top Left Radius / rad_tl` | Float 2D | 0, 0 |  |
| `Top Right Radius / rad_tr` | Float 2D | 0, 0 |  |
| `Bottom Right Radius / rad_br` | Float 2D | 0, 0 |  |
| `Bottom Left Radius / rad_bl` | Float 2D | 0, 0 |  |
| `Rotation / rotation` | Float | 0 |  |
