Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Change cursor in canvas element

New Here ,
Dec 13, 2016 Dec 13, 2016

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.

1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 13, 2016 Dec 13, 2016
LATEST

did use stage.enableMouseOver(25) or something similar?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines