Hey, I'm making a game where the player continually aims at the mouse. However, it looks like the mouse position isn't being accurately reported. The golden line in the attached footage is drawn with the function:
func _draw():
draw_line(position, get_global_mouse_position(), Color.GOLD)
with position being a node at the center of the character. What's going on?