# Min

> Creates a vector that is made from the smallest components of two vectors.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## Min(Vector3Int, Vector3Int)

Creates a vector that is made from the smallest components of two vectors.

```csharp
public static Vector3Int Min(Vector3Int lhs, Vector3Int rhs)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): The first vector to compare.**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): The second vector to compare.

### Returns

| Type                                                                    | Description                                                        |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [Vector3Int](/engine/6000.5/script-reference/unityengine/vector3int.md) | A vector that is made from the smallest components of two vectors. |

### Remarks

Additional Resources: [Vector3Int.Max](/engine/6000.5/script-reference/unityengine/vector3int/max.md) function.

## Min(Vector3Int, Vector3Int)

Creates a vector that is made from the smallest components of two vectors.

```csharp
public static Vector3Int Min(in Vector3Int lhs, in Vector3Int rhs)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): The first vector to compare.**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): The second vector to compare.

### Returns

| Type                                                                    | Description                                                        |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [Vector3Int](/engine/6000.5/script-reference/unityengine/vector3int.md) | A vector that is made from the smallest components of two vectors. |

### Remarks

Additional Resources: [Vector3Int.Max](/engine/6000.5/script-reference/unityengine/vector3int/max.md) function.
