Jump to content

Search In
  • More options...
Find results that contain...
Find results in...
_Greg _

Push text on change element width

Go to solution Solved by nico fonseca,

Recommended Posts


I'm a little stuck.
I want to make an animation:
1. If the blue rectangle decreases to the position shown on the image + gap - we begin to move the inscription at the same speed with which the rectangle decreases.
2. The second inscription also waits until the rectangle reaches the gap mark



What happened is very similar, but not the same.
Not sure if changing the coordinate when using onUpdate will not affect performance

See the Pen xxrrXoG?editors=0010 by gregOnCodePen (@gregOnCodePen) on CodePen

Link to comment
Share on other sites

@nico fonseca This is exactly what i want!

Thank you! 

I see first time quickSetter 

  • Like 1
Link to comment
Share on other sites

Niceee 🎉 🎉
You are welcome Greg 🙌

5 minutes ago, _Greg _ said:

I see first time quickSetter 

I also discovered it recently and now can't stop using it 😂. You can use a normal .set() but to boost your performance is better to use quicksetter 🚀

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