I have made a dragging sphere which drags, problem is how can I drag it using keyboard keys , I dont want to build it again on iphone simulator after experimenting with my code. for dragging it is not accepting mouse or any keyboard keys. Is it possible ?

  • 2
    \$\begingroup\$ If you want someone to answer this, then at the very least you're going to need to provide some of your source code. The normal way to get movement input in Unity is with Input.GetAxis, but without seeing your code I don't know what you are doing or how to improve it. \$\endgroup\$
    – SimonW
    Oct 5, 2011 at 12:24
  • \$\begingroup\$ Please provide some code! \$\endgroup\$
    – XandruCea
    Sep 3, 2015 at 14:51

1 Answer 1


Well I did a quick search on unity forum and I found a great example Unity Drag an Object without seeing your code though, I am not 100% sure what you want.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .