How do I get the direction angle of an actor?

I’m currently moving an actor using a simple direction vector. The problem I’m having is having that actor point towards the direction they’re moving in. For example, if the vector was (0, -3, 0) then the rotation would be (0, 0, 0) but if it was (-3, 0, 0) then the rotation would be (0, 0, -90) and if it was (-3, -3, 0) then it would be (0, 0, -45). The biggest problem I’m having is figuring out if the vector was something like (3, -15, 0) how I would calculate the rotation?

I’m not sure I understand correctly but if you’re looking to get the movement direction of the pawn you can do something like this:

Is it a simple actor ? it would be easier to do if the actor is a pawn for example, but if it’s a simple actor you can do something like this:

I want the actor to rotate in the forward direction it’s moving in. For example, if the actor was just moving on the positive x axis then the rotation’s yaw value would be 90. That’s what I’m trying to do.

It seems like that could work but the rotation is off by about 90 degrees.

I tried adding 90 and now it rotates once and then doesn’t rotate again.
EDIT: nvm I got it working.

Either add 90 or rotate the actor (in Blueprint editor).