# BoundsIntField

> Makes Position and Size field for entering a BoundsInt.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## BoundsIntField(Rect, BoundsInt)

Makes Position and Size field for entering a [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md).

```csharp
public static BoundsInt BoundsIntField(Rect position, BoundsInt value)
```

### Parameters

**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)): Rectangle on the screen to use for the field.**** (\[BoundsInt]\(/engine/6000.6/script-reference/unityengine/boundsint)): The value to edit.

### Returns

| Type                                                                  | Description                    |
| --------------------------------------------------------------------- | ------------------------------ |
| [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md) | The value entered by the user. |

### Remarks

See also  [Extending the editor](/engine/6000.6/manual/extending-the-editor.md).

## BoundsIntField(Rect, string, BoundsInt)

Makes Position and Size field for entering a [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md).

```csharp
public static BoundsInt BoundsIntField(Rect position, string label, BoundsInt value)
```

### Parameters

**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)): Rectangle on the screen to use for the field.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Optional label to display above the field.**** (\[BoundsInt]\(/engine/6000.6/script-reference/unityengine/boundsint)): The value to edit.

### Returns

| Type                                                                  | Description                    |
| --------------------------------------------------------------------- | ------------------------------ |
| [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md) | The value entered by the user. |

### Remarks

See also  [Extending the editor](/engine/6000.6/manual/extending-the-editor.md).

## BoundsIntField(Rect, GUIContent, BoundsInt)

Makes Position and Size field for entering a [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md).

```csharp
public static BoundsInt BoundsIntField(Rect position, GUIContent label, BoundsInt value)
```

### Parameters

**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)): Rectangle on the screen to use for the field.**** (\[GUIContent]\(/engine/6000.6/script-reference/unityengine/guicontent)): Optional label to display above the field.**** (\[BoundsInt]\(/engine/6000.6/script-reference/unityengine/boundsint)): The value to edit.

### Returns

| Type                                                                  | Description                    |
| --------------------------------------------------------------------- | ------------------------------ |
| [BoundsInt](/engine/6000.6/script-reference/unityengine/boundsint.md) | The value entered by the user. |

### Remarks

See also  [Extending the editor](/engine/6000.6/manual/extending-the-editor.md).
