# Getting direction of characters movement based on velocity?

**URL:** <https://forums.unrealengine.com/t/getting-direction-of-characters-movement-based-on-velocity/449831>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [May 30, 2019, 1:23am UTC](https://forums.unrealengine.com/t/getting-direction-of-characters-movement-based-on-velocity/449831 "2019-05-30T01:23:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [May 30, 2019, 1:59am UTC](https://forums.unrealengine.com/t/getting-direction-of-characters-movement-based-on-velocity/449831/2 "2019-05-30T01:59:57Z")

</div>

if I understand what you are asking… I think this is fairly straightforward…

You are using a player Character actor… right? From the **character movement component,** draw out **get velocity** , then **rotation from x vector** … this will give you the _direction_ as the world rotation of your characters velocity.

_PS._ if you’d like to get the _magnitude_ of velocity (speed) of your character just draw out **vector length**

_PPS._ you can do a similar thing with a **pawn** or even an **actor** , it’s just that **character** has it’s own special velocity check built in so it might be more performance efficient

 ![278364-character-velocity.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/4/3e4fe0a5125921dc94af886439b1ee25d939ca36.jpeg)

---

_[View the full topic](https://forums.unrealengine.com/t/getting-direction-of-characters-movement-based-on-velocity/449831)._
