Mouse position in certain area's triggers code?

Hey! I’m wondering whether its possible to trigger some script by what area the mouse is hovering over. I know this would be simple with roll over buttons, but I already have buttons and thats where the problem comes in because they share the same space.

So for instance I need something that says if the mouse is at X, Y ( or a broader area ) goto frame 2

Do you think this is possible?