I am trying to make an application. I want to move an image, that I brought from drawables, by the arrow keys. i.e right, left, up and down.
I took an large image as my background. and put the small image on it. I want to move the small image by the keys.
I tried with onkeydown(KeyCode, Event) function. But it will not work. Please tell me where exactly have I to put this method and how?
Also is it necessary to take thread with such events???