//Check Point in Canvas of Image Object obj.pointInPixel = function(x,y){ if(obj.ctx.getImageData(x,y,1,1).data[3]==0) { return false; } else { return true; } }