Is there is a way to draw a character always on top of another close characters

Is there is a way to draw a character always on top of another close characters to prevent the characters from intersecting each others like in street fighters .