Skip to main content
aleksis63820686
Inspiring
March 27, 2017
Answered

How to remove hand pointer cursor from button rollover

  • March 27, 2017
  • 2 replies
  • 5638 views

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!

    This topic has been closed for replies.
    Correct answer kglad

    yourbutton.useHandCursor = false;

    2 replies

    Legend
    March 28, 2017

    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.

    cursor - CSS | MDN

    Participant
    December 22, 2020

    Thank you! Very helpful hint about Canvas

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    March 27, 2017

    yourbutton.useHandCursor = false;

    aleksis63820686
    Inspiring
    March 27, 2017

    Thank you!

    Where to place this code?

    kglad
    Community Expert
    Community Expert
    March 27, 2017

    in the actions panel at the keyframe where you want to disable the button's hand cursor.