# MinAbsComponent

> Get the minimum absolute value component from the specified vector.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

## MinAbsComponent(Vector2)

Get the minimum absolute value component from the specified vector.

```csharp
public static float MinAbsComponent(Vector2 vector)
```

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): The vector to examine.

### Returns

| Type                                                          | Description               |
| ------------------------------------------------------------- | ------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The calculated component. |

## MinAbsComponent(Vector3)

Get the minimum absolute value component from the specified vector.

```csharp
public static float MinAbsComponent(Vector3 vector)
```

### Parameters

**** (\[Vector3]\(/engine/6000.5/script-reference/unityengine/vector3)): The vector to examine.

### Returns

| Type                                                          | Description               |
| ------------------------------------------------------------- | ------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The calculated component. |
