> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PrimitiveBoundingBox - ComfyUI Built-in Node Documentation

> The PrimitiveBoundingBox node creates a simple rectangular area defined by its position and size.

The PrimitiveBoundingBox node creates a simple rectangular area defined by its position and size. It takes X and Y coordinates for the top-left corner, along with width and height values, and outputs a bounding box data structure that can be used by other nodes in a workflow.

## Inputs

| Parameter | Description                                                                | Data Type | Required | Range      |
| --------- | -------------------------------------------------------------------------- | --------- | -------- | ---------- |
| `x`       | The X-coordinate for the top-left corner of the bounding box (default: 0). | INT       | Yes      | 0 to 16384 |
| `y`       | The Y-coordinate for the top-left corner of the bounding box (default: 0). | INT       | Yes      | 0 to 16384 |
| `width`   | The width of the bounding box (default: 512).                              | INT       | Yes      | 1 to 16384 |
| `height`  | The height of the bounding box (default: 512).                             | INT       | Yes      | 1 to 16384 |

Note: All maximum values follow ComfyUI's MAX\_RESOLUTION constant, which defines the largest image dimension the node accepts.

## Outputs

| Output Name    | Description                                                                                          | Data Type     |
| -------------- | ---------------------------------------------------------------------------------------------------- | ------------- |
| `bounding_box` | A data structure containing the `x`, `y`, `width`, and `height` properties of the defined rectangle. | BOUNDING\_BOX |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/PrimitiveBoundingBox/en.md)

***

**Source fingerprint (SHA-256):** `dc50286b09b8aaf7ff21eb699b9a04317f099b3deedb6cb7d4a1ec7668edeb97`
