> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/scene-fusion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfhierarchywatcher/ks.scenefusion.client.unity.editor.sfhierarchywatcher.dragvalidator.md).

# Delegate sfHierarchyWatcher.DragValidator

Namespace: [KS.SceneFusion.Client.Unity.Editor](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor.md)\
Assembly: KSUnity-Source.dll

Drag validator.

```csharp
public delegate bool sfHierarchyWatcher.DragValidator(GameObject target, int childIndex)
```

#### Parameters

`target` GameObject

target parent for the dragged objects.

`childIndex` int

childIndex the dragged objects will be inserted at.

#### Returns

bool

false is the drag should be prevented.
