# Disable draw debug line in Editor Mode

**URL:** <https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** console-commands, disable-rendering, unreal-engine, question\
**Created:** [February 11, 2019, 3:46pm UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172 "2019-02-11T15:46:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_5475d27e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5475d27e1](https://forums.unrealengine.com/u/anonymous_user_5475d27e1)\
**Post date:** [February 11, 2019, 3:46pm UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172/1 "2019-02-11T15:46:04Z")

</div>

hi guys ,  
have any way to disable debug line in Editor Mode (not packagging , that is too waste time )  
by Console command or change settings?

thx

---

<div class="post-metadata">

**Author:** ![SenseiHaketon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SenseiHaketon](https://forums.unrealengine.com/u/SenseiHaketon)\
**Post date:** [February 11, 2019, 3:53pm UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172/2 "2019-02-11T15:53:36Z")

</div>

What exactly do you want to do? What debug line do you want to disable?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5475d27e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5475d27e1](https://forums.unrealengine.com/u/anonymous_user_5475d27e1)\
**Post date:** [February 11, 2019, 4:19pm UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172/3 "2019-02-11T16:19:43Z")

</div>

i used a lot of “LineTraceForObject” Node, and set to “Draw Debug Type”.  
but now i need a easier way to set “None”.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_5475d27e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_5475d27e1](https://forums.unrealengine.com/u/anonymous_user_5475d27e1)\
**Post date:** [February 11, 2019, 4:20pm UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172/4 "2019-02-11T16:20:36Z")

</div>

or don’t show thats debug line(messages)

---

<div class="post-metadata">

**Author:** ![dinasorZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dinasorZ](https://forums.unrealengine.com/u/dinasorZ)\
**Post date:** [February 19, 2019, 6:44am UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172/5 "2019-02-19T06:44:13Z")

</div>

Welcome to the club 😃

I’ve found your question while also searching for an easy way to temporary disable LineTraces, to make the editor a little cleaner for a while.

Luckily, I’ve just found a good enough solution, at least for me. There is a node called ( **Flush Persistent Debug Lines** ), use it every tick and you’re done! no more line traces 🙂

Note: _Unfortunately, It’s for development only & not for shipping._

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [September 9, 2025, 4:39am UTC](https://forums.unrealengine.com/t/disable-draw-debug-line-in-editor-mode/443172/6 "2025-09-09T04:39:38Z")

</div>

best way is to use save system before hand and set it to none
