How do I get it to move in the direction of the ray?

Godot Version
4.2.2

Sorry for the possibly very stupid question, but how do I get the character to move in the direction of the ray?
(3D)

I need some more information if I can help you, can you post a picture of your scene so I can see your nodes, and then also post your code on how you do movement currently