# ContainsPoint(Vector2)

> Check if point is on top of port. Used for selection and hover.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.3/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public override bool ContainsPoint(Vector2 localPoint)
```

### Parameters

**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The point.

### Returns

| Type                                                          | Description                         |
| ------------------------------------------------------------- | ----------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the point is over the port. |
