Skip to main content
aleksis63820686
Inspiring
Mar 27, 2017 5:40 PM UTC
Answered

How to remove hand pointer cursor from button rollover

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 is closed to new replies. Start a new post to keep the conversation going.
    kglad
    kgladCorrect answer
    Community Expert
    Mar 27, 2017 5:52 PM UTC

    yourbutton.useHandCursor = false;

    17 replies

    Legend
    Mar 28, 2017 12:34 AM UTC

    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

    Translate
    Participant
    Dec 22, 2020 3:29 PM UTC

    Thank you! Very helpful hint about Canvas

    Translate
    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    Mar 27, 2017 5:52 PM UTC

    yourbutton.useHandCursor = false;

    Translate
    aleksis63820686
    Inspiring
    Mar 27, 2017 5:56 PM UTC

    Thank you!

    Where to place this code?

    Translate
    kglad
    Community Expert
    Community Expert
    Mar 27, 2017 6:42 PM UTC

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

    Translate