Follow the Mouse Cursor


#1

by kirupa | 9 March 2016

On the canvas, one of the most common things you'll do with the keyboard is use the arrow keys to move something around. For example, click on the following triangle and use your arrow keys to move it around:


This is a companion discussion topic for the original entry at http://www.kirupa.com/canvas/moving_shapes_canvas_keyboard.html