Drag a Sprite
Tap then drag to move the blue circle.
Drag with HTML5
This example drags a sprite across the canvas. See links to tutorials including interactive touch, mouse, device rotation and scroll events, for mobile and desktop, below.
Select tutorial pages below or with the menu above.
Drag & Drop with HTML5
Learn to code with JavaScript and this free tutorial. In the example, Drag a Sprite, click and drag to move the circle.