Thanks
How to Make a KinimaticBody2D Snap to the mouse Godot 3.5?
What do you mean by "Snap"? Drag and drop??
- Best Answerset by Barrett
in process() just get the current mouse position and assign it to the KinematicBody position property, no?
add it to your KinematicBody's script:
func _process(delta):
global_position = get_global_mouse_position()
or
func _input(event):
if event is InputEventMouseMotion:
global_position = get_global_mouse_position()
or... signals