Jump to content

change cursor back to arrow after useHandCursor = true with no rollout


ptotheaul
 Share

Recommended Posts

I have a button that I set the hand cursor input:


this.fullClickBtn.inputEnabled = true;
this.fullClickBtn.input.useHandCursor = true;

I want to disable the inputEnabled at some point after a click and have the cursor return to the arrow but the hand cursor persists.  Is there a method to manually set the cursor back to the arrow.  I've tried:

inputEnabled = false and useHandCursor=false

 

but it seems like if you don't roll off the the sprite it will not reset.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...