Rotate characters with mouse input (x and y)

Hi guys! Help me with the question. I’m making a game where the character is controlled with the WASD buttons (moving forward, backward, sideways). But I need my character to turn in the right direction regarding how the input is being used. I mean to be able to rotate the character with the mouse inputs. As far as I understand, I need to somehow convert float values to rotate?
Can anyone visually show how it should look?

This is the default first person character.


Sorry, I have not explained correctly.
Here is a conditional reference from my project. Now the rotation of the character is determined from the cursor trace. I also need the character to be rotated from the mouse inputs. That is, the character turns relative to the root in the direction the mouse is directed to.

It turns out that if the player moves the mouse 90 degrees from the character’s root 0, then the character turns there. If it is -90, then, respectively, in the other direction.
The main problem is that I understand how it should be, but I can’t make the blueprint correctly.

I’m a little confused. I don’t think you can direct the character with the cursor AND the mouse input.

What happens when the cursor is over on the right, but you are moving the mouse left?

I raised this question due to the fact that I want to replace the mechanics of turning the character on the cursor with mouse inputs.

Ok, then you can just copy the code from the FP:

image

I raised this question due to the fact that I want to replace the mechanics of turning the character on the cursor with mouse inputs.

Hey, have you found a solution to achieve that? I’m stuck in that situation right now.