# \[vtkjs\] Allow pan camera with mouse

**URL:** https://discourse.vtk.org/t/vtkjs-allow-pan-camera-with-mouse/4528
**Category:** Web
**Created:** [October 30, 2020, 7:33am UTC](https://discourse.vtk.org/t/vtkjs-allow-pan-camera-with-mouse/4528 "2020-10-30T07:33:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nicoco](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/n/7c8e57/32.png) [@nicoco](https://discourse.vtk.org/u/nicoco)
#### Post date: [October 30, 2020, 7:33am UTC](https://discourse.vtk.org/t/vtkjs-allow-pan-camera-with-mouse/4528/1 "2020-10-30T07:33:57Z")

</div>

Is there a simple way to enable to pan camera with a mouse right (or wheel) click?

I am using `vtkFullScreenRenderWindow `

I realize this is probably the second very basic question I ask here but I could not find the solution by myself… I am working on improving my javascript, I promise!

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [October 30, 2020, 7:57pm UTC](https://discourse.vtk.org/t/vtkjs-allow-pan-camera-with-mouse/4528/2 "2020-10-30T19:57:31Z")

</div>

> **[vtk.js](https://kitware.github.io/vtk-js/examples/InteractorStyleManipulator.html)**
>
> InteractorStyleManipulatorLive example Sourceimport 'vtk.js/Sources/favicon';import macro from 'vtk.js/Sources/macro';import vtkFullScreenRenderWindow from 'vtk.js/Sources/Rendering/Misc/FullScreenRe
