How to only fade out based on conditions?

How to only fade out based on conditions?

Hi, I have 3 images. 1 is for background and 2 of them are buttons.  I want it so that if the mouse leaves all  of them then fade it out.

Currently it will only fade out when you leave any of the 3. Yet, I want so that if you leave all 3 of them so all 3 must be at the mouse leave state in order to run my function with fades those images out.


How can I do this?