# IsDashed

> Whether the referenced transition is drawn with a dashed pattern.

## Definition

* **Type:** Property
* **Namespace:** [Unity.GraphToolkit.Editor.GraphVisualization](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization.md)
* **Assembly:** UnityEditor

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

### Remarks

Setting a new value overwrites any existing dash pattern override for that transition. The transition keeps the dashed pattern until you set this property back to `false` or call [TransitionReference.ClearCustomization](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/transitionreference/clearcustomization.md). On a state-to-state transition, this property dashes the transition's wire. On a self transition, this property dashes the transition arrow's border instead. Getting or setting this property has no effect, and getting it returns `false`, when the [TransitionReference](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/transitionreference.md) has no associated [TransitionReference.Context](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/transitionreference/context.md), such as when it is `default`. Throws ObjectDisposedException when you access this property after you call [Context.Dispose](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/context/dispose.md) on the context.

### Examples

```csharp
TransitionReference transitionRef = context.GetTransitionReference(transitionID);
transitionRef.IsDashed = true;
```
