# Disabling Camera Roll

**URL:** <https://discourse.vtk.org/t/disabling-camera-roll/2506>\
**Category:** Development\
**Created:** [January 28, 2020, 8:48am UTC](https://discourse.vtk.org/t/disabling-camera-roll/2506 "2020-01-28T08:48:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristopherWaters](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/c/d78d45/32.png) [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Post date:** [January 28, 2020, 8:48am UTC](https://discourse.vtk.org/t/disabling-camera-roll/2506/1 "2020-01-28T08:48:39Z")

</div>

**Current Situation:**

- I am using an implmentation of `vtkInteractorStyleTrackballCamera` for my interator/camera.
- I want the camera to only adjust it’s Yaw/Pitch when rotated by the user

**Question:**

- What would be the best way to **exclusively disable the Roll** of the Camera’s rotation?

**Reference to “Roll”:**  
 ![roll](https://discourse.vtk.org/uploads/default/original/2X/a/a7fd9489feb372f6a4c79ed06a41f01cbbe3adf7.png)

**Notes:**

- vtk 8.2.0
