Copy link to clipboard
Copied
Hello I'm looking for a way to remove the hand cursor that appears when you roll over a button
I'm working in html5 canvas
Thanks!
Copy link to clipboard
Copied
yourbutton.useHandCursor = false;
Copy link to clipboard
Copied
Thank you!
Where to place this code?
Copy link to clipboard
Copied
in the actions panel at the keyframe where you want to disable the button's hand cursor.
Copy link to clipboard
Copied
useHandCursor is the ActionScript solution. In Canvas you use .cursor.
button.cursor = "pointer"; // hand cursor
button.cursor = "default"; // default cursor
You can set it to any CSS cursor type.
Copy link to clipboard
Copied
Thank you! Very helpful hint about Canvas