diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index fa2f87a1308..1236aea2dd0 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1917,7 +1917,7 @@ void Viewport::_gui_input_event(Ref p_event) { Control *c = over; Vector2 cpos = pos; while (c) { - cursor_shape = c->get_cursor_shape(); + cursor_shape = c->get_cursor_shape(cpos); cpos = c->get_transform().xform(cpos); if (cursor_shape != Control::CURSOR_ARROW) break;