Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
jonias

Trying to make sense of a third parameter in gsap.to()

Recommended Posts

I'm looking at the the following codepen:

 

    tl.to("#square2", {
      scale: 1
    }, "<");

Can anyone explain this third parameter "<"? The gsap.to() docs only name two parameters.

See the Pen dyyabWY by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

Hello jonias,

 

It is called position paramenter. You can read more about it here.

 

 

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

×