Jump to content
Search Community

allTo, add to current values

Esseti test
Moderator Tag

Recommended Posts

Example scenario: I have 10 squares randomly placed on the scene. How can animate their y value by adding '24' with allTo? I don't want to animate them to y:24 (absolute), just add +24 in 'y' to each of their values. TweenMax.allTo(mySquaresArray, 1, {y: ???});

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