# ForDuration DebugDraw not clearing

**URL:** <https://forums.unrealengine.com/t/forduration-debugdraw-not-clearing/445723>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, editor, UE4, CPP, question\
**Created:** [March 21, 2019, 3:21pm UTC](https://forums.unrealengine.com/t/forduration-debugdraw-not-clearing/445723 "2019-03-21T15:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_13399bb2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_13399bb2](https://forums.unrealengine.com/u/anonymous_user_13399bb2)\
**Post date:** [March 21, 2019, 3:21pm UTC](https://forums.unrealengine.com/t/forduration-debugdraw-not-clearing/445723/1 "2019-03-21T15:21:48Z")

</div>

Hi, so for some reason when using DebugDrawing in the Editor even when set to ForDuration does not clear and the screen gets plastered with sphere traces:

```
UKismetSystemLibrary::SphereTraceMulti(Self, StartTrace, EndTrace, Radius, TraceType, false, Ignore, EDrawDebugTrace::ForDuration, Results, true, FLinearColor::Red, FLinearColor::Green, 0.1f);

```

What’s causing this?
