# How can I access the main camera's forward vector and set that to the player's forward direction

**URL:** <https://forums.unrealengine.com/t/how-can-i-access-the-main-cameras-forward-vector-and-set-that-to-the-players-forward-direction/1368451>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [November 6, 2023, 3:49pm UTC](https://forums.unrealengine.com/t/how-can-i-access-the-main-cameras-forward-vector-and-set-that-to-the-players-forward-direction/1368451 "2023-11-06T15:49:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 6, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/how-can-i-access-the-main-cameras-forward-vector-and-set-that-to-the-players-forward-direction/1368451/2 "2023-11-06T16:11:03Z")

</div>

> no matter which way the camera is facing, it’s forward direction will always determine the player’s forward direction

How close is this to what you need:

> [@Character Movement Relative To Fixed Cine Camera Actor?](https://forums.unrealengine.com/t/character-movement-relative-to-fixed-cine-camera-actor/1260051/2):
>
> The most straighforward way (providing you’re using the default movement system) would to be reorient control rotation: Use the camera / springarm rotation. Is this close enough? This is WASD, as in the template.

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-access-the-main-cameras-forward-vector-and-set-that-to-the-players-forward-direction/1368451)._
