Jump to content
GreenSock

Tejaxx7

Move Text only after cloning it

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I want to copy a text from one box to another box.

without actually loosing it from the source box.

help needed!!

See the Pen PvZJzN by tejaxx7 (@tejaxx7) on CodePen

Link to comment
Share on other sites

Hi Tejaxx7,

 

Welcome to the forums!

 

I am sorry but this is not a GSAP related question, we need keep this forums focused on GSAP API and usage or we won't be able to handle the demand.

 

For generic questions like that you will be better off going to other forums, like StackOverflow.

  • Like 2
Link to comment
Share on other sites

Like this?

See the Pen xNZXav by SARFEX (@SARFEX) on CodePen

 

You can use Greensock onComplete event and then clone source node to destination box.

  • Like 2
Link to comment
Share on other sites

NO. the letter 'T' has to remain in the Left side box.

Link to comment
Share on other sites

1 minute ago, Tejaxx7 said:

NO. the letter 'T' has to remain in the Left side box.

 

Clone and animate it at the beginning, in that case.

  • Like 5
Link to comment
Share on other sites

I should have said 'we try to keep this focused on the GSAP[...] but there is no law stopping people from jumping in and sorting it out'.

 

:)

  • Like 4
Link to comment
Share on other sites

23 minutes ago, Dipscom said:

we try to keep this focused on the GSAP

 

We can try, but sometimes the community just grabs the wheel at the last second and we're now careening off the topic of GSAP.

 

wv1gEPi.jpg

  • Haha 4
Link to comment
Share on other sites

So tru.... ?

Link to comment
Share on other sites

14 hours ago, Shaun Gorneau said:

 

 

 

thanks! shaun

Link to comment
Share on other sites

Shaun why you said not to tween the clone??
Link to comment
Share on other sites

4 hours ago, Tejaxx7 said:

Shaun why you said not to tween the clone??

 

Because the requirement was that one stays behind, and the other moves to the destination box. I could just as well have Tweened the clone and stated "Don't tween the original". :)

Link to comment
Share on other sites

22 hours ago, PointC said:

 

We can try, but sometimes the community just grabs the wheel at the last second and we're now careening off the topic of GSAP.

 

wv1gEPi.jpg

 

 

LOL ... I'm usually the passenger in that car! ?‍♂️?

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