Jump to content
Search Community

gsap.getProperty not updating after tween

AlexH test
Moderator Tag

Recommended Posts

Hello,

 

I'm having a pretty simple issue with an svg rect's x attribute not updating after a tween. I want to be able to move the rect and get its new, updated position afterwards. Check the JavaScript code and the console to better understand the issue. Thanks for your help!

See the Pen eYMQpZw by alexhoare (@alexhoare) on CodePen

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