Collision and Passing between actors

Can you have collision detection and still be able to pass in front of or behind an actor? What I mean is, if two actors are in the same x position and they collide, the player actor dies, but if the actor moves up or down the y position, can he move behind or in front of the other actor? I am new to GS, so this is what I have been struggling with the most. That, and linking the title screen to the game screen, but that I can figure out once I learn exactly how my game is going to be structured.