Collision for sprite a vs sprite b is relative to the Canvas’s coordinate orientation. Let’s assume 0,0 is the top left of the canvas and for the sprites as well.
a.right > b.left && a.left < b.right && a.bottom > b.top && a.top < b.bottom
I suppose there are other ways to describe it, but this one is mine.