You can achieve this on anything usually with css.
$('canvas').css({ 'pointer-events': 'none' });
This mean there will be no click event or anything. That means whatever code you are using to draw will no longer work.