From c3435464731c9f926bd529a38dcc412e9a73b5f5 Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Thu, 29 Oct 2020 16:07:22 +0100 Subject: [PATCH] Make HEAD not draggable --- scenes/node.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenes/node.gd b/scenes/node.gd index 2718898..7856fb7 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -122,7 +122,7 @@ func _on_unhover(): func _input(event): if hovered: - if event.is_action_pressed("click"): + if event.is_action_pressed("click") and type != "head": start_pos = get_viewport().get_mouse_position() held = true elif event.is_action_pressed("right_click"):