Is there a way to see if a script is attached to a node ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By siska

More specifically, when I’m browsing the scripts in the resource folder (res://), is there a way to check if a script is being used by my game ? In other words, is the script attached to a node ?
It’s kind of a bother to have to click all scenes an check all nodes to see if one of them uses the particular script …

:bust_in_silhouette: Reply From: shmellyorc

in your godot filesystem, NOT YOUR OS. right click the script and click “view owners”. it will show what scenes is using that script.

Ah ! Cross post ! =)

siska | 2019-05-06 18:24

:bust_in_silhouette: Reply From: siska

Ah. Of course. I Just found it !

You need to go to the resource folder (res://), right-click a script, and then go to 'view owners. You can’t do this from the script sidebar !