summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorHana <48352564+Piralein@users.noreply.github.com>2023-02-21 19:15:07 +0100
committerHana <48352564+Piralein@users.noreply.github.com>2023-02-21 19:28:43 +0100
commitf4b2231cd08bfd817e823666377307e7d158bcbb (patch)
treea5a49d3a9db057c0b195e7518f04b7b133a95937 /doc/classes/Control.xml
parent7e79aead99a53ee7cdf383add9a6a2aea4f15beb (diff)
update outdated references and examples
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index 5693876194..f2ab6cb07e 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -801,7 +801,7 @@
Shows the given control at the mouse pointer. A good time to call this method is in [method _get_drag_data]. The control must not be in the scene tree. You should not free the control, and you should not keep a reference to the control beyond the duration of the drag. It will be deleted automatically after the drag has ended.
[codeblocks]
[gdscript]
- export (Color, RGBA) var color = Color(1, 0, 0, 1)
+ @export var color = Color(1, 0, 0, 1)
func _get_drag_data(position):
# Use a control that is not in the tree