hitTest problem (in game)

Hi! could someone tell me how to make the character walk up the hill instead of through it!? I don’t want him to be able to walk through any part of the ground mc, from any direction…:a:

Hope some1 can help!!!:ne:

Here’s my game…:smiley:

Link: hem.bredband.net/ollij