# How to edit PDI line in runtime

**URL:** <https://forums.unrealengine.com/t/how-to-edit-pdi-line-in-runtime/1543142>\
**Category:** C++\
**Tags:** draw, line, unreal-engine, question\
**Created:** [December 21, 2023, 2:18pm UTC](https://forums.unrealengine.com/t/how-to-edit-pdi-line-in-runtime/1543142 "2023-12-21T14:18:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liv\_Esposito](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Liv\_Esposito](https://forums.unrealengine.com/u/Liv_Esposito)\
**Post date:** [December 21, 2023, 2:18pm UTC](https://forums.unrealengine.com/t/how-to-edit-pdi-line-in-runtime/1543142/1 "2023-12-21T14:18:32Z")

</div>

I want to edit “PDI-\>DrawLine()” and I used the Component Visualizers

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/6/c669376b39d8d47603c2aba8ea262b992bf8939e.png)

its work ，but work in the editor viewport。  
so what should i do

p.s. English is not my motherlanguage，apologies for my grammar
