Detecting attachments within a part's bounding box

I have few attachments parented to a part (let’s call this part AttachmentsParent for convenience), and another part (let’s call this part SearchBox for convenience) that has it’s bounding box covering some of them.
How can I get via a script an array/list containing all the attachments that are in the SearchBox’s bounding box or colliding with SearchBox?

2 Likes