Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: thunder on June 27, 2022, 11:33:12 AM

Title: "Mouse over" not working on 2 overlapping objects
Post by: thunder on June 27, 2022, 11:33:12 AM
I have a square that changes to red color when my mouse is over it, or else it stays green. It works fine alone but if I have another object behind of it(like a circle), it stops working on the part where it intersects with the other object. Both objects have box collider 2d. Any helps? Thank you very much.

https://filebin.net/5tcfjaufkbq9le0x

(https://i.ibb.co/6vjjhFr/2.jpg)

(https://i.ibb.co/ngtdgq4/3.jpg)
Title: Re: "Mouse over" not working on 2 overlapping objects
Post by: djaydino on June 27, 2022, 01:40:41 PM
Mouse over works as 3d

if you change the z position it should work.
Title: Re: "Mouse over" not working on 2 overlapping objects
Post by: thunder on June 27, 2022, 03:24:08 PM
Yeah it worked, thank you.