It uses `get_global_position` internally, which is relative to the current canvas layer (unlike `get_screen_position`).