@Megalomaniak said:
At the moment. This definitely seems to me like a valid feature request for the issue tracker on godot github repository.
I agree!
The only thing I wonder is how hard it would be to implement. Not to say that it should not be a feature request, I think it would be awesome if it was added, I just am thinking about potential complexities.
I suppose in theory it would just be a matter of going through the scene tree and getting all of the scripts and putting them into a list, though this might not work due to instanced scenes. If there is a way to tell whether a node/scene is instanced or not then it may just be a matter of checking and ignoring instanced nodes (or putting them in a separate list). If instanced scenes and their children nodes are kept separate, then in theory they could just be processed like other nodes.
Another interesting thing to consider is how this would work with scripts being added and removed... All interesting stuff to think about! :smile:
Perhaps one day I'll try adding scene based script filtering into Godot. Though with as much other stuff I have planned, I do not see myself having much free time in the foreseeable future :lol:
Regardless I think scene based script filtering would be a great feature request on the Github repository.