update outdated references and examples

This commit is contained in:
Hana
2023-02-21 19:15:07 +01:00
parent 7e79aead99
commit f4b2231cd0
3 changed files with 3 additions and 3 deletions

View File

@@ -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