We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eadbdb commit e30da67Copy full SHA for e30da67
doc/classes/Window.xml
@@ -727,7 +727,7 @@
727
Emitted when files are dragged from the OS file manager and dropped in the game window. The argument is a list of file paths.
728
[codeblock]
729
func _ready():
730
- get_viewport().files_dropped.connect(on_files_dropped)
+ get_window().files_dropped.connect(on_files_dropped)
731
732
func on_files_dropped(files):
733
print(files)
0 commit comments