diff --git a/core/os/input.cpp b/core/os/input.cpp index e732eac323e..d7c0d86d645 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -283,7 +283,7 @@ Point2 InputDefault::get_mouse_speed() const { int InputDefault::get_mouse_button_mask() const { - OS::get_singleton()->get_mouse_button_state(); + return OS::get_singleton()->get_mouse_button_state(); }