Highlighted

How do I change the mouse over a custom element?

Contributor ,
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

133

Likes

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

How do I change the mouse over a custom element?

Contributor ,
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

134

Likes

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
May 06, 2014 0
Eddy_Li LATEST
Explorer ,
May 07, 2014

Copy link to clipboard

Copied

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.

Likes

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
Reply
Loading...
May 07, 2014 0