func _on_TextureRect_gui_input(event):
if Input.is_action_pressed("left"):
rect_position = get_global_mouse_position()
when I do this the node does go down to the bottom right corner with respect to the mouse pointer
How do I center it? If I change the rect_offset
to half it still does not work