Jump to content
Search Community

I have an svg whose inner triangle i want to move in the direction of my mouse movement

AvaterClasher test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

  • Solution

@AvaterClasher you already asked this previously and we offered feedback. 

 

It's entirely possible, but not at all simple. You'd have to figure out the coordinates of the control points and use a mousemove/pointermove listener to affect them based on proximity and then update the "d" attribute of the <path> accordingly, probably in an onUpdate of a tween. If you need further assistance with that, you'll probably need to hire someone to work it all out. Feel free to contact us about paid support services or post in the Jobs & Freelance forum. 

 

Good luck!

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...