diff options
author | skyace65 <trekie96@hotmail.com> | 2021-03-27 16:22:43 -0400 |
---|---|---|
committer | skyace65 <trekie96@hotmail.com> | 2021-09-21 20:47:13 -0400 |
commit | 824259aca02f0bd7356f98289cad3a033fe8955a (patch) | |
tree | 96f9d091b092d851b43ac575900cd867bfa48bde /doc | |
parent | 60d67f93c6757834be912a48f2ca23b31a69ad5f (diff) |
Add note that for _gui_input(event) event position is relative to the control origin
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Control.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 6602764cd4..c9a2de66a8 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -137,6 +137,7 @@ * control is obstructed by another [Control] on top of it, which doesn't have [member mouse_filter] set to [constant MOUSE_FILTER_IGNORE]; * control's parent has [member mouse_filter] set to [constant MOUSE_FILTER_STOP] or has accepted the event; * it happens outside the parent's rectangle and the parent has either [member rect_clip_content] enabled. + [b]Note:[/b] Event position is relative to the control origin. </description> </method> <method name="_has_point" qualifiers="virtual const"> |