# Make camera only move forward and not left and right in UE5

**URL:** <https://forums.unrealengine.com/t/make-camera-only-move-forward-and-not-left-and-right-in-ue5/2249040>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [December 29, 2024, 4:27pm UTC](https://forums.unrealengine.com/t/make-camera-only-move-forward-and-not-left-and-right-in-ue5/2249040 "2024-12-29T16:27:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [December 29, 2024, 5:23pm UTC](https://forums.unrealengine.com/t/make-camera-only-move-forward-and-not-left-and-right-in-ue5/2249040/2 "2024-12-29T17:23:48Z")

</div>

Add a camera component to your character from the Components window on the top left like this:

 ![Screenshot 2024-12-29 201713](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/3/1837e7d208b43ba43bc6d0a1b811df703b1e966b.png)

Since you’re on the third person template, the third person character BP would already have a spring arm (camera boom) and a camera component (follow camera) so you can also unparent the spring arm from it by dragging the camera component over it.

Then detach it after Begin Play like this:

 ![Screenshot 2024-12-29 201650](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/7/ba784d9faaf9c001c2a594fc2f88b84c6258d209.png)

And set up Event Tick like this:

 ![Screenshot 2024-12-29 201859](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/a/7caf95f201e1d73bc18a0e2e7b5f81de266ca54b.png)

_(Note that the orientation might be different in your case)_

The default value of my variable named “Camera Relative Location” is the camera component’s default location which you can access from the viewport by navigating to the Details window while having the component selected.

And here’s the result:

Hope this helps! 😇

---

_[View the full topic](https://forums.unrealengine.com/t/make-camera-only-move-forward-and-not-left-and-right-in-ue5/2249040)._
