I made a code for the character to be teleported to the place where the mouse cursor is, if the distance is less than or equal to 350.
Blueprint:
I happen to wish that if the distance were greater, the character teleported to the equivalent point of the line (distance between character and mouse cursor) of 350.
What I would like to know how to do:
I've thought about using the Line Trace by Channel, but I can not think of how to decrease the value of a distance and find the equivalent point in a line (vector value).
EDIT 1 (attempt based in Ocelot comment)
Blueprint:
Result in game:
Now the character teleports to a point that seems to have reference to the center of the level. I tried to add this vector to the character's position, but I did not get the desired result.
PS - The print of the word "Hello" on the screen indicates how many times I clicked on the teleportation key in the last 2 seconds.