Pixelperfect collision or hittest between object and any coordinate (not pointer)

Hey there,
in my Game, I need a pixel-perfect hittest between a few objects and a coordinate which is not the pointer.
In Arcade Physics there is a hittest(x,y) method in StaticBody but it is not pixelperfect.
The Input pointer has a pixelperfect collision option.
How can i check if a coordinate is within the not transperent pixels of a png-Sprite?

Thanks a lot
Matthias

Samme made an exemple here for pixel perfect collision between 2 body, you probably can adapt it to your needs

1 Like

Thanks BlunT76 - that’s exactly what i needed - perfect!