# 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.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct ChangeChildrenOrderEventArgs
```

## Constructors

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

## Properties

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