Drag/hover an item - not just the mouse

OK - how is this done please?

I have an OBJECT A (a picture) and an OBJECT B (a picture).

I have a LAYER 1.

I can hover my mouse over OBJECT A and display LAYER 1 which can be restored on mouse leave.

I can drag OBJECT B over OBJECT A to display LAYER 1, but I cannot work out how to close/hide LAYER 1 when I drag OBJECT B away.

Any ideas please?

Thanks!

Nick

2 Replies
Michael Hinze

This may be too simplistic for your purposes, but you could use a transparent object that is bigger than your target and is positioned behind the target. Then add a trigger that hides the layer when the drag object is dragged over the transparent object. See attached a quick example.