If you click on the script within the Scripts component, and the user is within the same folder, the script is highlighted. If you’re in a different folder however, it’s not highlighted.
Carrying out the same process for materials or sound slots will highlight that asset, even if it’s in a different folder.