It all depends on the version of scratch you have and how it supports external input / output. The best drag and drop language is LabView but that is expensive.
A robot implies some sort of wireless communication, like IR, WI-Fii, or Bluetooth. So you need to supply that capability at both ends.
Please read the how to use this forum sticky post, it will tell you how to ask a good question. At the moment you are just drip feeding us small scraps of your requirements.