# StateMachineChanges

> The set of changes recorded on the state machine during the current StateMachine.OnStateMachineChanged callback.

## Definition

* **Type:** Property
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public StateMachineChanges StateMachineChanges { get; }
```

### Remarks

Inspect the collections on [StateMachineChanges](/engine/6000.7/script-reference/unity/graphtoolkit/editor/statemachinechanges.md) (states, transitions, variables, and subgraph states) to react to what was added, removed or modified. Only valid inside [StateMachine.OnStateMachineChanged](/engine/6000.7/script-reference/unity/graphtoolkit/editor/statemachine/onstatemachinechanged.md).
