Hi

I'm learning javascript and trying to put it also on mobile (android). How can I translate this function on touch events? Thank you

Code:
//Draw circle
function drawCircle(e) {

	var canvasOffset = canvas.offset();
	var canvasX = Math.floor(e.pageX-canvasOffset.left);
	var canvasY = Math.floor(e.pageY-canvasOffset.top);

	
	cb_ctx.beginPath();
 	cb_ctx.arc(canvasX,canvasY,cb_ctx.lineWidth/2,0,Math.PI*2,true);
 	cb_ctx.fillStyle = cb_ctx.strokeStyle;
 	cb_ctx.fill();

}