# ChangeChildrenOrderEventArgs

> A change of this type indicates that a GameObject's children have been reordered. This happens when Undo.RegisterChildrenOrderUndo is called or when reordering a child in the hierarchy under the same parent.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public struct ChangeChildrenOrderEventArgs
```

## Constructors

| Constructor                                                                                                                                                      | Description                |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| [ChangeChildrenOrderEventArgs(System.Int32,UnityEngine.SceneManagement.Scene)](/engine/6000.0/script-reference/unityeditor/changechildrenordereventargs/ctor.md) | Constructs a new instance. |

## Properties

| Property                                                                                             | Description                                                                                                                                                                                                                                                             |
| ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [instanceId](/engine/6000.0/script-reference/unityeditor/changechildrenordereventargs/instanceid.md) | The instance ID of the parent [GameObject](/engine/6000.0/script-reference/unityengine/gameobject.md) whose children have been reordered. Note that this is not the instance ID of the [Transform](/engine/6000.0/script-reference/unityengine/transform.md) component. |
| [scene](/engine/6000.0/script-reference/unityeditor/changechildrenordereventargs/scene.md)           | The [Scene](/engine/6000.0/script-reference/unityeditor/searchservice/scene.md) containing the [GameObject](/engine/6000.0/script-reference/unityengine/gameobject.md) whose children were reordered.                                                                   |
