this shows how to use blocks with input. look inside and i have notes showing how it works. if you don't understand, just try it out and i'm sure you'll get it.