# ContainsPoint(Vector2)

> Checks if point is on top of edge.

## Definition

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

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

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): Point position.

### Returns

| Type                                                          | Description                                       |
| ------------------------------------------------------------- | ------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if point is on top of edge. False otherwise. |
