# How to lock component camera rotation and Y and Z location?

**URL:** <https://forums.unrealengine.com/t/how-to-lock-component-camera-rotation-and-y-and-z-location/326682>\
**Category:** Blueprint\
**Tags:** unreal-engine, z-axis, Blueprint, question\
**Created:** [July 27, 2015, 8:12am UTC](https://forums.unrealengine.com/t/how-to-lock-component-camera-rotation-and-y-and-z-location/326682 "2015-07-27T08:12:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joce000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joce000](https://forums.unrealengine.com/u/joce000)\
**Post date:** [July 27, 2015, 8:12am UTC](https://forums.unrealengine.com/t/how-to-lock-component-camera-rotation-and-y-and-z-location/326682/1 "2015-07-27T08:12:03Z")

</div>

How i can lock rotation of component camera parented to mesh of my charater? Also i want it to move just along X axis.
