# Is there an InteractorStyle that allows moving across a surface while tethered to it?

**URL:** https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320
**Category:** Support
**Tags:** python
**Created:** [September 11, 2022, 3:49pm UTC](https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320 "2022-09-11T15:49:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [September 11, 2022, 3:49pm UTC](https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320/1 "2022-09-11T15:49:38Z")

</div>

Is there any InteractorStyle that allows the viewer to move (using cursor arrow keys) across a surface while maintaining the elevation tethered to that surface? I am thinking here as if you were moving across a terrain following the ups and downs of the terrain.

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [September 11, 2022, 10:32pm UTC](https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320/2 "2022-09-11T22:32:15Z")

</div>

Hello,

You can try this one: [https://vtk.org/doc/nightly/html/classvtkInteractorStyleTerrain.html](https://vtk.org/doc/nightly/html/classvtkInteractorStyleTerrain.html) (documentation describes the key bindings). I’ve never used it myself, so this is my two cents.

regards,

Paulo

---

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [September 12, 2022, 7:40am UTC](https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320/3 "2022-09-12T07:40:27Z")

</div>

Thanks Paulo,

Yes, this style allows me to overwrite the function of the cursor keys but does not seem to take care of maintaining the elevation tethered to the surface.

M.
