# PhysicsEvents.TransformWriteEvent

> An event produced and sent to the callback target set with _transformWriteCallbackTarget which must implement PhysicsCallbacks.ITransformWriteCallback which will have PhysicsCallbacks.ITransformWriteCallback.OnTransformWrite called allowing custom transform writing.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEquatable\<TransformWriteEvent>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public readonly struct PhysicsEvents.TransformWriteEvent : IEquatable<PhysicsEvents.TransformWriteEvent>
```

## Properties

| Property                                                                                                                            | Description                                                                                                                                                                                                                                                           |
| ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [physicsWorld](/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/transformwriteevent/physicsworld.md)                 | The physics world the event was created from.                                                                                                                                                                                                                         |
| [simulationType](/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/transformwriteevent/simulationtype.md)             | The simulation type of the physics world when the event was created.                                                                                                                                                                                                  |
| [transformPlane](/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/transformwriteevent/transformplane.md)             | The transform plane of the physics world when the event was created.                                                                                                                                                                                                  |
| [transformPlaneCustom](/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/transformwriteevent/transformplanecustom.md) | The transform plane (custom) of the physics world when the event was created. This maybe not be relevant unless the transform plane is [PhysicsWorld.TransformPlane.Custom](/engine/6000.7/script-reference/unity/u2d/physics/physicsworld/transformplane/custom.md). |
| [transformTweenMode](/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/transformwriteevent/transformtweenmode.md)     | The transform tween mode of the physics world when the event was created.                                                                                                                                                                                             |
| [tweens](/engine/6000.7/script-reference/unity/u2d/physics/physicsevents/transformwriteevent/tweens.md)                             | The transform write tweens available to be configured.                                                                                                                                                                                                                |
