# How do I align a Camera to the current view in the Editor Viewport?

**URL:** <https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460>\
**Category:** Cinematics & Media\
**Tags:** align, unreal-engine, editor, Blueprint, question\
**Created:** [May 16, 2014, 6:51am UTC](https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460 "2014-05-16T06:51:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NurtNurt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NurtNurt](https://forums.unrealengine.com/u/NurtNurt)\
**Post date:** [May 16, 2014, 6:51am UTC](https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460/1 "2014-05-16T06:51:48Z")

</div>

Hi there, absolutely loving ue4, i’ve had so many questions but this is the first i’ll actually post:

Is there a equivalent ability in UE4 to Unity’s **‘Align with View’** functionality?

I use this a lot, as i specialise in cinematics and camera animation, and i’m finding it less than ideal to have to manually transform my cameras within blueprints or the level using gizmos. the editor debug camera is really good and granular, so i can compose my shots the way i want, but is there a way for me to snap my camera to that position and rotation?

if i could somehow **debug the editor camera’s transform** , i am happy to copy that out and manually specify if need be, the specific result i am trying to achieve is to have specifically compose cameras attached to gameobjects within my ‘map’ world, which the game camera can transition to when focused on that item, so i’m happy with world coordinates, i could do the relative position math manually also.

Thanks for the help!

(Also, i realise i could potentially use matinee’s camera view mode, but these are not necessarily matinee cameras, if that is my best solution, awesome, i’ll get more involved with it and using them in blueprints, as it stands i’m doing more level setup than actual cinema at this point. if i can access this functionality outside of matinee then also super awesome)

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [May 16, 2014, 1:25pm UTC](https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460/2 "2014-05-16T13:25:15Z")

</div>

Hey **NurtNurt** ,

Here is what I know so far about the camera. You have the typical **F** to focus on selected Actors. You also have **Create Camera Here** within the _Level Editor_ Menu. You have other transform commands within the _Level Editor Context Menu_. So if you aren’t used these already, this may help you achieve your desired cinematic goals. Other commands like **Align to Actor** , are currently commented out in the source _LevelViewportContextMenu.cpp_. I was unable to find it linked to a key or button within the source. Looking back at an older Question/Answer, there was a request for an **Align To…** function. [[Request] Align Objects - Mobile - Unreal Engine Forums](https://answers.unrealengine.com/questions/5775/request-align-objects.html)

 ![6380-camerainviewport.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/b/41b85e521eac5b2d761aabf0cbefea40fb21e0b3.jpeg)

_Peace_

---

<div class="post-metadata">

**Author:** ![NurtNurt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NurtNurt](https://forums.unrealengine.com/u/NurtNurt)\
**Post date:** [May 20, 2014, 1:55am UTC](https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460/3 "2014-05-20T01:55:02Z")

</div>

Aha! thanks for that, i expect i’ll get the relative transforms for my shots by dropping the by into the level at 0,0,0, then using the world position as a relative offset in the Blueprint.

Thanks for taking the time to answer!

(perhaps in the future i will be able to debug the editor viewport camera’s transform to the log, and get the info that way, i’ll worry about that when this project is done.)  
Peace!

---

<div class="post-metadata">

**Author:** ![Udo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Udo](https://forums.unrealengine.com/u/Udo)\
**Post date:** [November 3, 2016, 4:27pm UTC](https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460/4 "2016-11-03T16:27:12Z")

</div>

I think the command you are looking for is “Snap Object to View”.

You move your editor view to your preferred position and direction and then you select your camera or player and choose “Snap Object to View” from the pop-up menu of the World Outliner.

I used version 4.12.5

---

<div class="post-metadata">

**Author:** ![GenkiB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GenkiB](https://forums.unrealengine.com/u/GenkiB)\
**Post date:** [March 20, 2024, 12:53pm UTC](https://forums.unrealengine.com/t/how-do-i-align-a-camera-to-the-current-view-in-the-editor-viewport/283460/5 "2024-03-20T12:53:30Z")

</div>

This just helped me figure it out! Thanks Udo.
