Hi guys, I’m new.
This my question. E.g:
I was insert a PNG as a sprite, and I want to engine detect mouse hover the map ( A in the pic ) in sprite and do something, not include other transparent place( B in the pic ). Problem is the engine just detct mouse hover whole sprite ( inclue transparent place), How to fix it ?
If all shapes have a different color, you can use the get color extension and get the color at the position of MouseX/MouseY position and use it to know which one you are hovering