Moving my Guy up and down a hill on a bumpy shape?

oh god, im trying to figure out how to move my box who’s bounding box is a square obviously, how to move him/the box along a squigly shape if it’s on the floor(Stage.height)…