progresS
This commit is contained in:
4
label.gd
4
label.gd
@@ -64,9 +64,7 @@ func _process(delta):
|
||||
var s = label.size
|
||||
mouse_pos.x = clamp(mouse_pos.x, cam_top_left.x + margin, cam_bottom_right.x - label.size.x - margin)
|
||||
mouse_pos.y = clamp(mouse_pos.y, cam_top_left.y, cam_bottom_right.y)
|
||||
|
||||
if $label.visible:
|
||||
print("LABEL VISIBLE", $label.text)
|
||||
|
||||
|
||||
# Update label position
|
||||
global_position = mouse_pos
|
||||
|
||||
Reference in New Issue
Block a user