If you want it to stop moving (eg at the end of the level) use a wire-frame region at the end for it to collide with (xvelocity=0). If you want its yvelocity to change as well, you could just use paths. You probably want wire-frame regions around the view to stop your player walking out of it.