Weird hittest

When I load my fla, the hit ctrl-enter to play it and it loads fine. I have a box named backg around the edge of the stage and I have my character. Now when I move to the left and right sides of the stage and the character hits the box, its stops fine :slight_smile: But when the character hits the top and bottom of the box, it just keeps on walking :h: What do I have wrong?

Thx :toad:

bump :ne:

Patience, my friend;)

I think for the vertical movement it should be:[AS]if (_parent.backg.hitTest(this._x, this._y, true)) {[/AS]

you had “box” in stead of “backg”

scotty(-: