How to make the player dash towards the mouse cursor

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vOliFlafolk

Good day!
I wanted to ask how to implement one game mechanic

Namely, I want to ask how to implement the fact that my character will jerk towards the mouse cursor? (the player is KinematicBody2D ( side view and 2D space))

:bust_in_silhouette: Reply From: DigitalDrako

I answered a similar question a few months back:

Hope this helps!