11

Is there any way to do this to let the user know the element is clickable?

I have been using easeljs but haven't found anything related.

General Grievance
  • 4,555
  • 31
  • 31
  • 45
chrysillo
  • 732
  • 2
  • 9
  • 17

2 Answers2

8

You could use this: How to make clickable points in html5 canvas?

and while the mouse is in that area, you can set: $('#canvasID').css('cursor','pointer') and $('#canvasID').css('cursor','auto') when it's not over it.

Community
  • 1
  • 1
Belladonna
  • 3,824
  • 2
  • 24
  • 33
3

I am using Easeljs and to get a pointer cursor I use myObject.cursor = 'pointer' and stage.enableMouseOver(20); ( from the DragAndDrop.html example code )

kikuchiyo
  • 3,391
  • 3
  • 23
  • 29