Hit Test

I know there are lots of posts on this, but I can’t seem to find any that suit my problem.

Could anybody give me the code and maybe a little explanation for this problem:

I have 2 Movieclips, box and car, and I want them to bounce backwards 10 pixels when they hit. I have a little understanding of hit test but do not know how to make something happen when hit test occurs. And it would be great if you could make the movieclips “move” back 10 pixels instead of automatically jumping 10 pixels back.

Cheers :slight_smile: