FileSystemDock selection_changed signal

Godot Version

4.3 stable

Question

Is there a EditorSelection.selection_changed signal equivalent for FileSystemDock? I’m trying to make a responsive docked window that immediately do something when the user select a file with desired format. I can’t find any in the docs.

I can simply use button, yes. But that inconvenience would add up over time.

Found it!

EditorInterface.get_file_system_dock().get_child(3).get_child(0), that points to the Tree object that lists all the files and dirs.

cell_selected of that tree is the signal that I needed.

1 Like

You can get the selected paths/files with EditorInterface.get_selected_paths()

Not exactly what I’m looking for in this thread. But I do need that in my overall use case. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.