# clampToParentEdges

> If true, it does not allow the dragged element to exit the parent's edges.

## Definition

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

```csharp
public bool clampToParentEdges { get; set; }
```
