# IsFinite(Vector2)

> Get whether both components of the specified vector are finite i.e. neither NaN nor infinite.

## Definition

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

```csharp
public static bool IsFinite(Vector2 value)
```

### Parameters

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

### Returns

| Type                                                          | Description                   |
| ------------------------------------------------------------- | ----------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether the vector is finite. |
