---
title: disableDrawOverride
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/u2d/physics/physicsworld/disabledrawoverride
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/u2d/physics/physicsworld/disabledrawoverride.md
last_updated: 2026-10-18
generated_at: 2026-11-04T11:44:24.289Z
locale: en-us
---

# disableDrawOverride

> Controls whether this world ignores the Editor draw override and always draws with its own draw settings. The Editor draw override lets a user replace the draw settings of every world from the Editor preferences, without changing any world or project setting. Set this to true for a world whose drawing must never change that way, such as a world that exists only to draw editor tooling. This is not part of the world definition, so writing a definition to the world leaves it unchanged. It has no effect in a player, where there is no override.

## Definition

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

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