Go in the scripts, and remix this project to use it.
Script from http://wiki.scratch.mit.edu/wiki/Move_10_Steps , but I adapted it to a custom block.