Find all scripts attached to an object that implement a certain interface

I have a Clickable interface and a ClickManager script attached to my GameManager to save raycasts. When a cast hits an object, i’d like to get an array of all the instances of scripts that implement the interface that are attached to the object.

Is there a way to do it?

After fixing an unrelated problem it turns out that obj.GetComponent<Clickable>() does the job