Hello all,
I have a question regarding mouse following/easing…
I want a MC to follow the mouse for only like a 25 pixel radius, and then return to it’s original position. How do I do this?
Thanks,
Case
Hello all,
I have a question regarding mouse following/easing…
I want a MC to follow the mouse for only like a 25 pixel radius, and then return to it’s original position. How do I do this?
Thanks,
Case
simple way:
make a circle of 25 pixels in radius, call it "circle"
call the movie clip that is following the mouse “mfollow”
then just do a hitTest() of mfollow with circle.
If the hitTest() is true, have mfollow follow the mouse
if the hitTest() returns false, have the mouse go back to it’s original
location
–Patrick
Thanks, Phantom :chinaman:
I was wondering if you can be more specific code wise…
I am a dunce.
Case
:: Copyright KIRUPA 2024 //--