In fabricjs, I want to create a scene in which the object under the mouse rises to the top of the scene in z-index, then once the mouse leaves that object, it goes back to the z
After I added a line object, I was make the line appear under the object using:
canvas.add(line); canvas.sendToBack(line);
Other options are
see: https://github.com/fabricjs/fabric.js/issues/135