# PhysicsWorld.TransformChangeReason

> Defines the reason why a Transform changed. Register and unregister for transform changes with PhysicsWorld.RegisterTransformChange and PhysicsWorld.UnregisterTransformChange.

## Definition

* **Type:** Enum
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
[Flags]
public enum PhysicsWorld.TransformChangeReason
```

## Fields

| Value                                                                                                                      | Description                                                                                                                                                                                               |
| -------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Animation](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/animation.md)             | The animation system wrote a physics-based world-space TRS change.                                                                                                                                        |
| [Any](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/any.md)                         | Any transform change.                                                                                                                                                                                     |
| [AnyLocal](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/anylocal.md)               | The local position, rotation or scale of the transform changed.                                                                                                                                           |
| [AnyWorld](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/anyworld.md)               | The world-space position, rotation or scale of the transform changed.                                                                                                                                     |
| [LocalPosition](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/localposition.md)     | The local position of the transform changed. This does not propagate to children or parent transforms. See [\_localPosition](/engine/6000.5/script-reference/unityengine/transform/localposition.md).     |
| [LocalRotation](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/localrotation.md)     | The local rotation of the transform changed. This does not propagate to children or parent transforms. See [\_localRotation](/engine/6000.5/script-reference/unityengine/transform/localrotation.md).     |
| [LocalScale](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/localscale.md)           | The local scale of the transform changed. This does not propagate to children or parent transforms. See [\_localScale](/engine/6000.5/script-reference/unityengine/transform/localscale.md).              |
| [ParentHierarchy](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/parenthierarchy.md) | The parent transform hierarchy changed. Indicates that a direct or indirect parent has been added, removed or re-parented.                                                                                |
| [WorldPosition](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/worldposition.md)     | The World-space position of the transform changed. Changing a parent results in an event in children transform too. See [\_position](/engine/6000.5/script-reference/unityengine/transform/position.md).  |
| [WorldRotation](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/worldrotation.md)     | The World-space rotation of the transform changed. Changing a parent results in an event in children transform too. See [\_rotation](/engine/6000.5/script-reference/unityengine/transform/rotation.md).  |
| [WorldScale](/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformchangereason/worldscale.md)           | The World-space scale of the transform changed. Changing a parent results in an event in children transform too. See [\_lossyScale](/engine/6000.5/script-reference/unityengine/transform/lossyscale.md). |
