Jump to content
Search Community

Move img to a specific point

NicolasRaymond test
Moderator Tag

Recommended Posts

Hi ! 


I'm very new at using GSAP and I not succeed to make what I need. 


I have a list of img ( 3 ) centered in the web page, when I click on one of them, I want to scale and move so I have done that


this.gsapTest = gsap.to('idOfImg',{


I would like to "force" the position a the end of the animation to a specific position in the web page for every img. not according to its starting point


is it possible to define a "drop zone" for my img ? 

i don't know if I'm clear enough 


Thanks !


PS : sorry if my English is not perfect it's not my language.


Capture d’écran 2020-01-03 à 20.58.42.png

Capture d’écran 2020-01-03 à 20.58.46.png

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...