Skip to main content
Inspiring
May 6, 2014 6:27 PM UTC
Question

How do I change the mouse over a custom element?

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Participating Frequently
May 7, 2014 8:46 AM UTC

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