You may want to just continuously tween the player’s global position to the global position of the cursor.
You can do this using a Tween node and its interpolate_property() method. The property being interpolated is the Player’s global_position.
Make calls to Input singleton to get the current Input to know where the destination should be.
(These are rough ideas for you to look into, not a detailed plan.)
Thank you for respond. I made it. But my only problem now is when I touch my player and drag, It can go beyond the screen. Plsss help me. Sorry for my English again.