How To: Change Property if Two Objects Overlap?
Hi all,
So we were able to solve one problem in an unexpectedly easy way the other day, and I wanted to see if maybe we could solve another.
Short version: I'm using AfterEffects to replicate the Windows 10 interface for a software demo, and I have everything set up to emulate the various effects (i.e. mouse-hover, left-click, and so on). Right now, if I want to simulate a mouse-hover of one of the desktop icons, I have to move the mouse cursor (a PNG with its anchor point set to [0,0]) over it, and then manually watch to see when the mouse-hover highlight would appear, and adjust the layer's opacity by hand. I then have to do likewise when the cursor moves away, and this can get very tedious if I have to adjust the movement of the mouse cursor.
My question is: if I have a layer specifically for mouse-hover effects, is it possible to cue it (maybe with an IF/ELSE statement or something similar) to ONLY become visible when the mouse icon PNG overlaps with it? (In other words, 0 opacity to make it invisible, then when the mouse cursor PNG overlaps with it, instantly change the opacity to 100, then back again when the cursor PNG is no longer overlapping)
