Hi,

I am just a beginner. I want to draw an object that moves according to the pressed arrow key.

How can I read the key pressed by the user?