Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
The red square will stop falling when it hits the floor.