Click the buttons, and when the robber disappears, the click the home button to reset him. But, you have to click R after he disappears.
I thought it would be fun to make a project like this, so I did. If you search my username then you can see all of my projects. Update 1: Added more buttons. Update 2: Added a home button. Update: 3 Added the ultimate button. Update 4: Added the JoJo Reference Update 5: Added the Building Jump