How can I keep the Ground ALIGNED with the red line in the image below

alright ,so i started making my 2d project and i had this problem which require the ground to be aligned to the red line so the player can move on so how can i do that119677-capture.png

Good day.

I think you need some hours of learning before commencing ask… You are asking something that yo ucan learn in 20 seconds… So Please, dont waste our time…

Bye.