In order to click and move your mouse you will need advanced function declarations. I don't remimber the functions anymore, but I DO remimber these from when I was in game developement, I wrote a mouse system in an IDE that doesn't support any mouse movement or input at all in Ruby.