The idea is this: If you want to click a button, you just click it. If you want to view button 3, 4 ..., you slide the bar until you see the button, then you cal click it.
Since Scratch has very small scene, I'm trying to do a slider like on a smartphone, where you can drag and view the next items. Not the easiest project on Scratch I've ever done :)