mouse_entered and exit not working on CollisionPolygon2d ?
Asked Answered
L

1

0

I have an Area2d with a CollisionShape2d child. The area has working signals for _on_mouse_entered() and _on_mouse_exited() and prints statements to prove it all works ok.

I also have an Area2d with a CollisionPolygon2d child. The collision polygon has been created, signals attached, but the signals dont work.

All other settings are the same - collision is on, visible is on, have collision layers etc

The only difference I can find is that one is a polygon and the other a shape.

Any thoughts why the mouse enter/exits aren't working?

Li answered 14/3 at 17:38 Comment(0)
L
0

Never mind, figured it out, the build mode must be a solid for some reason!

Li answered 14/3 at 18:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.