Hello! Do any of you know how to see which entities are using which scripts? Thank you!
Hi @SoySauceStudios,
You can do a search using findComponents, this will return all entities that are using a script component and have one or more scripts attached:
const scriptComponents = this.app.root.findComponents('script');
From there if you iterate through each script component you will see the script by its type referenced as a property:
scriptComponent.myScriptType;