I’m drawing a blank here. I know this is possible and I’m almost sure I’ve done something like this, but I can’t recall what any of the commands are, so I can’t even search the documentation for this.
How can I find the nearest object with a particular script attached to it?