I wanted to know if it is possible to make an object move when the mouse pointer goes over it?
Imagine there is a pigeon on the screen, when the pointer approaches the pigeon moves away and flies and then returns when the mouse pointer moves away.
it’s possible to do it?
It depends fully on the behavior that you want, but if it is just to have the bird move away from an area when the mouse is in a fixed zone, and return when the mouse moves away from the fixed zone, this is pretty easy to setup.
You would basically:
- Create an alternate timeline that has the bird move away
- Create an empty or invisible element like an ellipse that represents the target area you want to avoid
- For that target area, add a mouse over action that continues the timeline
- Then add a mouse out action that continues that timeline in reverse
move-away.hype.zip (55.7 KB)
More sophisticated versions could use relative timelines for a different fly there and fly back path (you will need to use “start timeline” instead of continue), or have the target area itself move and perhaps some different places to go.
It was just what I was looking for.
Thank you very much for your time!!!