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

How do I change the mouse over a custom element?

Engaged ,
May 06, 2014 May 06, 2014

Copy link to clipboard

Copied

I'm working on creating my own element types when the mouse is over this element or part of this element I need to change the cursor to a hand or resize cursor. How do I do this?

PS How do I post this into the TLF forum?

TOPICS
Development

Views

233

Translate

Translate

Report

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
Explorer ,
May 07, 2014 May 07, 2014

Copy link to clipboard

Copied

LATEST

Not sure what you meant by element types. But assuming you want to use your own mouse cursor instead of the default one, you can always try

  Mouse.hide();

and just listen for mouseMove events and set your own cursor to where ever you want. With a bit of creativeness, your cursor can do amazing things.

Votes

Translate

Translate

Report

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