2D perfect collisions

I’d like there to be a function to perfectly detect collisions with the 2D pixel technique. it will be possible?