I don't know how to make this work!!!

I’m trying to recreate goombas from Mario, but when they walk off an edge they sort of glide instead of fall, how can i fix this?
Here’s the game- http://www.flowlab.io/game/play/1232174

Change your walk speed to -3 and instead of the switch going into Forward make it go into X.

THX