# ChangeChildrenOrderEventArgs

> Constructs a new instance.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## ChangeChildrenOrderEventArgs(EntityId, Scene)

Constructs a new instance.

```csharp
public ChangeChildrenOrderEventArgs(EntityId entityId, Scene scene)
```

### Parameters

**** (\[EntityId]\(/engine/6000.5/script-reference/unityengine/entityid)): **** (\[Scene]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): 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.

## ChangeChildrenOrderEventArgs(int, Scene)

Constructs a new instance.

> **Warning:**
>
> **Removed.** ChangeChildrenOrderEventArgs(int instanceId, Scene scene) is deprecated. Use ChangeChildrenOrderEventArgs(EntityId entityId, Scene scene) instead.

```csharp
public ChangeChildrenOrderEventArgs(int instanceId, Scene scene)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The instance ID of the parent [GameObject](/engine/6000.5/script-reference/unityengine/gameobject.md) whose children have been reordered. Note that this is not the instance ID of the [Transform](/engine/6000.5/script-reference/unityengine/transform.md) component.**** (\[Scene]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): 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.
