How to get the side a sprite is touching another one?

I want to make a game where I need to know with which side a sprite is touching another one.

A post was merged into an existing topic: Detect which side a sprite is touching another sprite