Jump to content
GreenSock

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

gsap.registerEase() enables you to add or register custom eases with GSAP. These tweens can then be used as any other ease in tweens and timelines. These eases generally return values between 0 and 1 but can go outside of that range (like GSAP’s elastic ease).

For example:

  1. gsap.registerEase({
  2. name: "myCustomEase",
  3. ease: function(t, e) {
  4. //ease timing here
  5. }
  6. });
Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×