Thanks to LIMBO Keys on Scratch (mit.edu) this scratch project for letting me steal their code.

There is a surprise if u win