# Modifying the FDragTool\_Measure cpp file

**URL:** <https://forums.unrealengine.com/t/modifying-the-fdragtool-measure-cpp-file/242025>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [July 22, 2021, 5:07pm UTC](https://forums.unrealengine.com/t/modifying-the-fdragtool-measure-cpp-file/242025 "2021-07-22T17:07:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anonymous\_user\_ffb97c02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ffb97c02](https://forums.unrealengine.com/u/anonymous_user_ffb97c02)\
**Post date:** [August 11, 2021, 4:42pm UTC](https://forums.unrealengine.com/t/modifying-the-fdragtool-measure-cpp-file/242025/5 "2021-08-11T16:42:54Z")

</div>

Thank you Rupesh.  
That’s such a nice way to do it.

I wish someone would deconstruct how this can be extended into a plugin for educational purposes.  
UE even have this implemented as experimental plugins .

[https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Experimental/SampleToolsEditorMode/Source/Private/SampleTools/MeasureDistanceSampleTool.cpp](https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Experimental/SampleToolsEditorMode/Source/Private/SampleTools/MeasureDistanceSampleTool.cpp)

Cheers,  
b

---

_[View the full topic](https://forums.unrealengine.com/t/modifying-the-fdragtool-measure-cpp-file/242025)._
