# How to disable the dragging option of vtkOrientationMarkerWidget?

**URL:** https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946
**Category:** Support
**Created:** [May 10, 2019, 8:39am UTC](https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946 "2019-05-10T08:39:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kim\_William](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kim_william/32/373_2.png) [@Kim\_William](https://discourse.vtk.org/u/Kim_William)
#### Post date: [May 10, 2019, 8:39am UTC](https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946/1 "2019-05-10T08:39:38Z")

</div>

Hi all.

I have a simple question about dragging option of vtkOrientationMarkerWidget.

I want to disable the dragging option.  
(I attached the image file, it indicates the dragging box of vtkOrientationMarkerWidget.)

Could you please advise me?

Thank you 🙂

Best regards,  
William Kim

 ![dragging%20box](https://discourse.vtk.org/uploads/default/original/1X/24ab86dd3550b65e77a553961f494314be9afcde.jpeg)

---

<div class="post-metadata">

### Author: ![figueiredo](https://discourse.vtk.org/user_avatar/discourse.vtk.org/figueiredo/32/304_2.png) [@figueiredo](https://discourse.vtk.org/u/figueiredo)
#### Post date: [May 11, 2019, 7:06am UTC](https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946/2 "2019-05-11T07:06:34Z")

</div>

Hi Kim!

If you are not interested in dragging or scaling, I would recommend to simply call the method InteractiveOff() from the vtkOrientationMarkerWidget, afterwards (it requires you to enable the widget beforehand) 😉

Have a nice weekend!

---

<div class="post-metadata">

### Author: ![Kim\_William](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kim_william/32/373_2.png) [@Kim\_William](https://discourse.vtk.org/u/Kim_William)
#### Post date: [May 14, 2019, 5:30am UTC](https://discourse.vtk.org/t/how-to-disable-the-dragging-option-of-vtkorientationmarkerwidget/946/3 "2019-05-14T05:30:53Z")

</div>

Hi Rodrigo Figueiredo.

Thank you for your tip!

The ‘InteractiveOff()’ function works well!

Thank you 🙂
