If you touch the red area, you die (and respawn). You use wasd to move but you can use space to jump too.
I used the smooth movement by adding two variables (x and y speed) so instead of using cange x/y i added it to the variables and and added a forever block that had cange y speed by -1 if not on ground so that i had gravity.