> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# IsSeparateZOrder

## Definition

Determines the [ZOrder](/developer/desktop-sdk/references/common/charts/rendering/chart-zorder) of the drawing object will be different than the NinjaScript object that drew it.  When false the drawing object will share the same ZOrder.

## Property Value

This property returns true if the object is drawn on a separate ZOrder; otherwise, false. Default set to false.

## Syntax

`IsSeparateZOrder`

## Example

```csharp
protected override void OnBarUpdate()  
{  
  // Instantiate a Dot object  
  Dot myDot = Draw.Dot(this, "NewDot", true, 5, High[5], Brushes.Black);  
   
  // Set the Dot object to use a separate Z-Order than the indicator that created it  
  myDot.IsSeparateZOrder = true;  
}
```