---
title: PhysicsDrawOverride.OverrideOptions
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/editor/physicsdrawoverride/overrideoptions
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions.md
last_updated: 2026-11-30
generated_at: 2026-11-30T23:42:45.053Z
locale: en-us
---

# PhysicsDrawOverride.OverrideOptions

> Selects which draw values the override replaces while it is enabled.

## Definition

* **Type:** Enum
* **Namespace:** [Unity.U2D.Physics.Editor](/engine/7000.0/script-reference/unity/u2d/physics/editor.md)
* **Assembly:** [UnityEditor](/engine/7000.0/script-reference/modules/unityeditor.md)

```csharp
[Flags]
public enum PhysicsDrawOverride.OverrideOptions
```

## Remarks

A value whose option is not set is left to each world. [PhysicsDrawOverride.OverrideOptions.HideWithGizmos](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/hidewithgizmos.md) has no matching value: it hides all physics drawing in any Scene or Game view whose Gizmos button is off.

## Fields

| Value                                                                                                                              | Description                                                                                                                                                        |
| ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [DrawAtTransform](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawattransform.md) | Override [PhysicsDrawOverride.Settings.drawAtTransform](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawattransform.md). |
| [DrawColors](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawcolors.md)           | Override [PhysicsDrawOverride.Settings.drawColors](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawcolors.md).           |
| [DrawContactType](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawcontacttype.md) | Override [PhysicsDrawOverride.Settings.drawContactType](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawcontacttype.md). |
| [DrawFillAlpha](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawfillalpha.md)     | Override [PhysicsDrawOverride.Settings.drawFillAlpha](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawfillalpha.md).     |
| [DrawFillOptions](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawfilloptions.md) | Override [PhysicsDrawOverride.Settings.drawFillOptions](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawfilloptions.md). |
| [DrawFilter](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawfilter.md)           | Override [PhysicsDrawOverride.Settings.drawFilter](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawfilter.md).           |
| [DrawForceScale](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawforcescale.md)   | Override [PhysicsDrawOverride.Settings.drawForceScale](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawforcescale.md).   |
| [DrawNormalScale](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawnormalscale.md) | Override [PhysicsDrawOverride.Settings.drawNormalScale](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawnormalscale.md). |
| [DrawOptions](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawoptions.md)         | Override [PhysicsDrawOverride.Settings.drawOptions](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawoptions.md).         |
| [DrawPointScale](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawpointscale.md)   | Override [PhysicsDrawOverride.Settings.drawPointScale](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawpointscale.md).   |
| [DrawTarget](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawtarget.md)           | Override [PhysicsDrawOverride.Settings.drawTarget](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawtarget.md).           |
| [DrawThickness](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/drawthickness.md)     | Override [PhysicsDrawOverride.Settings.drawThickness](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/settings/drawthickness.md).     |
| [HideWithGizmos](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/hidewithgizmos.md)   | Hide physics drawing in a Scene or Game view whose Gizmos button is off. A world that opts out of the override keeps drawing, like every other override value.     |
| [None](/engine/7000.0/script-reference/unity/u2d/physics/editor/physicsdrawoverride/overrideoptions/none.md)                       | Nothing is overridden.                                                                                                                                             |
