-1

So I am making a hover game for my webpage. I just want my mouse to automatically point at a point say a button or a box i create with css when that page loads. is there any way to do this?

JJJ
  • 32,902
  • 20
  • 89
  • 102
veenarose
  • 61
  • 9
  • 2
    Please post your [**current code**](http://whathaveyoutried.com) and any **relevant** HTML and/or CSS you are having issues with and a [**jsFiddle**](http://jsFiddle.net) (or similar), if required, to demonstrate the issue. – Nope May 25 '14 at 21:16
  • 1
    You can't control the mouse's position, if that's what you're asking. – Joeytje50 May 25 '14 at 21:19
  • You can't, not with HTML nor with CSS. Even in Javascript, you can only fake it: http://stackoverflow.com/questions/2409867/move-mouse-cursor-using-javascript-in-chrome-or-firefox-using-any-method-plugin (random pick from several 100s of SO hits). – Jongware May 25 '14 at 21:23

1 Answers1

0

No. There's no way for a web page to control the position of the mouse cursor.

RichieHindle
  • 272,464
  • 47
  • 358
  • 399