Let's say I have 2 Active objects: a Diamond and a Block. I have many adjacent instances of Block. The Diamond moves with the mouse.
I want the Block object to set its alpha-blending coefficient to 100 if the Diamond is overlapping with it, and I want to set it to 0 if it isn't overlapping with it.
Here's my events:
-Diamond: Set X position to XMouse
-Diamond: Set Y position to YMouse
Block is overlapping Diamond
-Block: Set alpha-blending coefficient to 100
NOT Block is overlapping Diamond
-Block: Set alpha-blending coefficient to 0
The problem is that while the Diamond is overlapping ANY Blocks, all blocks that are overlapping, or that previously overlapped with the Diamond, are semi-transparent, not only the ones that are currently overlapping with the Diamond!
How can I do what I want?
Attached the mfa showing this problem.
Thank you in advanced for your help!