Multiple OnMouseEnter

Hi I was just asking to find out if you can have multiple on OnMouseEnter functions for different objects in the same script.

So if the click the left object it does one thing, but if they click the right object it does something else.

I’m pretty sure you can