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)