diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-13 18:10:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 18:10:33 +0100 |
commit | 47c35f5b9665a04bdddccb0d34fc7983dd78be3d (patch) | |
tree | 592018bfa0f878426154877da9e574540b2d1b95 /scene/gui | |
parent | 0ce3fff3f835a91a0f5fbb2b816076bb9f212bea (diff) | |
parent | bcf13dc1756d3668478204eaace47db77942346a (diff) | |
download | redot-engine-47c35f5b9665a04bdddccb0d34fc7983dd78be3d.tar.gz |
Merge pull request #59108 from KoBeWi/somewhere_on_the_screen
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/control.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index d8659b1f18..d2d1b5e9b7 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -3224,6 +3224,7 @@ void Control::_bind_methods() { ClassDB::bind_method(D_METHOD("get_custom_minimum_size"), &Control::get_custom_minimum_size); ClassDB::bind_method(D_METHOD("get_parent_area_size"), &Control::get_parent_area_size); ClassDB::bind_method(D_METHOD("get_global_position"), &Control::get_global_position); + ClassDB::bind_method(D_METHOD("get_screen_position"), &Control::get_screen_position); ClassDB::bind_method(D_METHOD("get_rect"), &Control::get_rect); ClassDB::bind_method(D_METHOD("get_global_rect"), &Control::get_global_rect); ClassDB::bind_method(D_METHOD("set_focus_mode", "mode"), &Control::set_focus_mode); |