# WritePose()

> Write the full 3D position and rotation of the body to the currently set PhysicsBody.transformObject. If no PhysicsBody.transformObject is assigned, this method will do nothing and false will be returned.

## Definition

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

```csharp
public bool WritePose()
```

### Returns

| Type                                                          | Description                                                                                                                                 |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether the [PhysicsBody.transformObject](/engine/7000.0/script-reference/unity/u2d/physics/physicsbody/transformobject.md) was written to. |
