Thanks :)
If both sprites are rectangular, you can use this condition:
SpriteA.BBoxLeft<=SpriteB.BBoxLeft & SpriteA.BBoxRight>=SpriteB.BBoxRight & SpriteA.BBoxTop<=SpriteB.BBoxTop & SpriteA.BBoxBottom>=SpriteB.BBoxBottom
Develop games in your browser. Powerful, performant & highly capable.
Thanks! I had no idea that BBox existed!