Skip to main content
Participant
February 22, 2018
Answered

Getting Camera to Follow Mouse

  • February 22, 2018
  • 1 reply
  • 478 views

Hey all! I've been searching all over the internet but finding useable reference is difficult with the many version of Flash/Animate/Actionscript/javascript.... I was hoping you all could perhaps help me out..

I'm trying to make a webpage with an interactive map where you can click to expand an information blurb about the restorative projects currently in progress. Here's the basic idea.

My question is: I was wondering if anyone could help with showing how to make the camera pan along with the mouse (bonus points for a limited scroll/zoom!) Thank you!

This topic has been closed for replies.
Correct answer Joseph Labrecque

You can refer to the methods located on the following page:
Camera in Animate CC

You should be able to adjust the camera x/y in relation to the mouse x/y in your project.

1 reply

Joseph Labrecque
Community Expert
Joseph LabrecqueCommunity ExpertCorrect answer
Community Expert
February 23, 2018

You can refer to the methods located on the following page:
Camera in Animate CC

You should be able to adjust the camera x/y in relation to the mouse x/y in your project.