NSimage view (clickable?)


I am experimenting with trying to get a dialog box to appear upon clicking an image view area… In the inspector under applescript, it shows that there is an ACTION > clicked-- I checked this, and gave it a name and linked it to my applescript file (which I put a statement if name of theobject=“blabla” then display dialog “test worked!”)… However nothing happens when clicking the area… I am wondering if this just doesn’t work that way and I have to layer my image views with transparent buttons? Or is there another (smarter) way to accomplish this?

Thank you.