Ground

Hi, I’m wanna understand more about the ground in a platform game.
I did this, but you can walk in the air, it is just if you jump into the air you fall.
Can someone explain, or show a simple code, that will fix this? I really wan’t to understand this!
//Patrik. :slight_smile:
**EDIT: **The enemys also gonna fall. :stuck_out_tongue: