Movement of character with mouse click

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Adam
:warning: Old Version Published before Godot 3 was released.

How do you move a player by pressing a mouse button? I would like it to be in the style of the 2D point and click adventures. The character is a KinematicBody2D with a CollisionShape2D.

Do you want it to follow a particular path? Or a straight line?

Zylann | 2016-07-20 21:50

A straight line.

Adam | 2016-07-23 14:22