0 Replies Latest reply on Apr 9, 2015 9:55 PM by JBORGER

    Edge Animate coding for mouse position

    JBORGER

      Hey.

       

      I need help working out how to trigger actions in Edge animate in direct relation to the mouse pistion on the page. i know that to formulate the mouse posotion you have to use e.pageX, e.pageY but what i am trying to do is locate pixels on that page (top right, top left, bottom right, bottom left) to trigger the action. I have attached a image of what i am trying to do using clours and shapes. For my front page of my website i have a revolver barrel and each time the mouse hovers over a certain section of my page i want it to 'jerk' to a certain revolved position. Can anyone help me out with the code for this? its frustrating me so much

       

      Screen Shot 2015-04-01 at 2.34.17 pm.pngScreen Shot 2015-04-10 at 2.45.32 pm.png