# selectedDrawing

> Controls whether this joint is drawn individually when the world is drawn.

## Definition

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

```csharp
public bool selectedDrawing { get; set; }
```

### Remarks

The joint is only drawn when the world draw options include [PhysicsWorld.DrawOptions.SelectedJoints](/engine/6000.7/script-reference/unity/u2d/physics/physicsworld/drawoptions/selectedjoints.md); changing the draw options never changes this state. The state persists until set to false, the joint is destroyed, or [PhysicsWorld.ClearDrawSelected](/engine/6000.7/script-reference/unity/u2d/physics/physicsworld/cleardrawselected.md) clears the whole world. The joint must also have [\_worldDrawing](/engine/6000.7/script-reference/unity/u2d/physics/physicsjoint/worlddrawing.md) enabled to be drawn.
