1 Reply Latest reply on Dec 13, 2016 5:56 AM by kglad

    Change cursor in canvas element

    guerganat98188658

      Hello,

       

      I am trying to change the cursor on hover on the whole canvas and I got a working example that works with:

       

      stage.cursor = "pointer";

       

      in the actions panels inside Animate CC.

       

      The problem with this is that it is not working in all examples. This seems to work only on samples where there are buttons on the stage.

       

      I also tried modifying the html and adding the css cursor property like this:

       

      #canvas {

      cursor: pointer;

      }

       

      but this, on the contrary, doesn't work on examples where I already have buttons that have their default hover cursor change...

       

      What I need is a standarized easy way of changing the cursor when hovering on any part of the stage.

       

      Can anybody help me clarify this?

       

      Thank you.