I have a man normally moving area the applet , but i wanted to create a sort of “wall” so that if the player moves in the direction of the object and get close enough it would be able to move through but would have to move around the whole thing , i though of simply placing an if(player is 1 away from object){ move player back 1} but it just feels wrong , if anyones nice enough to assist it would be really nice of you
and sorry i typed in a few errors , smoking and typing at the same time get a little bit hard XD