# ChangeRootOrderEventArgs(int, Scene)

> Constructs a new instance.

## Definition

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

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

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The instance ID of the [GameObject](/engine/6000.0/script-reference/unityengine/gameobject.md) being 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/unityengine/scenemanagement/scene)): The [Scene](/engine/6000.0/script-reference/unityeditor/searchservice/scene.md) containing the [GameObject](/engine/6000.0/script-reference/unityengine/gameobject.md) whose root order index was changed.
