> 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.sfunityutils/ks.scenefusion.client.unity.editor.sfunityutils.foreachcallback.md).

# Delegate sfUnityUtils.ForEachCallback

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

Callback to use with game object iteration methods.

```csharp
public delegate bool sfUnityUtils.ForEachCallback(GameObject gameObject)
```

#### Parameters

`gameObject` GameObject

gameObject being iterated.

#### Returns

bool

true to iterate the children of the game object.
