Move Mouse Cursor Javascript

后端 未结 3 965
生来不讨喜
生来不讨喜 2020-12-06 07:32

I\'m building a joke microsite for a company. They want a feature where the mouse cursor will randomly change position when the user hovers over a certain image.

Is

3条回答
  •  抹茶落季
    2020-12-06 07:50

    You can't move the mouse cursor.

    You can move the page or the image relative to the position of the cursor, which might make it look like the cursor moved when it didn't?

提交回复
热议问题