# locking on  camera Issue

**URL:** <https://forums.unrealengine.com/t/locking-on-camera-issue/46706>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [November 5, 2015, 1:47pm UTC](https://forums.unrealengine.com/t/locking-on-camera-issue/46706 "2015-11-05T13:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NerdRebellion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NerdRebellion](https://forums.unrealengine.com/u/NerdRebellion)\
**Post date:** [November 5, 2015, 1:47pm UTC](https://forums.unrealengine.com/t/locking-on-camera-issue/46706/1 "2015-11-05T13:47:15Z")

</div>

I am trying to make a lock on process where the camera focuses on to the closest enemy and stays on them until the lock on button is pressed again. I can get the body to change to the enemy and stay in that direction how ever I need the camera to stay on them. This is the blue print and the effect.

 ![Locking on Issue.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/e/ee1a5df880350ef158c534aaa686e1fd87f2e4d3.jpeg)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/a/97acb24561fd58958d7948c6b071ab885e43ac71.jpeg "FUN WITH GLITCHES") ](https://www.youtube.com/watch?v=NM6tfwzwV4Y)

I added music just because it seemed like it matched the video.
