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

How do I change the mouse over a custom element?

Engaged ,
May 06, 2014 May 06, 2014

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
295
Translate
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
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.

Translate
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