Loading scenes/window/draggable.gd +5 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,11 @@ func _ready() -> void: set_process_input(true) func initial_drag(): dragging_start_position = get_global_mouse_position() dragging = true func _input(event) -> void: if event is not InputEventMouseButton: return Loading scenes/window/dragon.gd +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ func on_place_back() -> void: func _ready() -> void: _pick_random_screen_position() draggable.initial_drag() func _process(delta: float) -> void: Loading Loading
scenes/window/draggable.gd +5 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,11 @@ func _ready() -> void: set_process_input(true) func initial_drag(): dragging_start_position = get_global_mouse_position() dragging = true func _input(event) -> void: if event is not InputEventMouseButton: return Loading
scenes/window/dragon.gd +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ func on_place_back() -> void: func _ready() -> void: _pick_random_screen_position() draggable.initial_drag() func _process(delta: float) -> void: Loading