onHover: function(event,elements) { $("#canvas1").css("cursor", elements[0] ? "pointer" : "default"); }