EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 280+ Courses All in One Bundle
  • Login
Home Design Design Tutorials After Effects Tutorial After Effects Loop Expression
Secondary Sidebar
After Effects Tutorial
  • Effects
    • Crop in After Effects
    • Color Grading in After Effects
    • Text Effects in After Effects
    • After Effects Templates
    • After Effects Bounce Expression
    • Time Remapping After Effects
    • After Effects Gradient
    • After Effect Font
    • After Effects Duplicate Composition
    • After Effects Expressions List
    • After Effects Green Screen
    • After Effects Loop Composition
    • Drop Shadow in After Effects
    • Background in After Effects
    • Blur in After Effects
    • After Effects Freeze Frame
    • After Effects Move Anchor Point
    • After effects?Quicktime
    • Text in After Effects
    • Motion Blur in After Effects
    • Mask in After Effects
    • Color Correction in After Effects
    • Blending Modes in After Effects
    • Track Matte in After Effects
    • Transparent Background in After Effects
    • Slow Motion in After Effects
    • Animation in After Effects
    • Text Animation in After Effects
    • Logo Animation in After Effects
    • 2D After Effects Animation
    • 3D Effects in After Effects
    • 3D Text in After Effects
    • After Effects 3D Objects
    • Shape Layers in After Effects
    • Export in After Effects
    • Morphing in After Effects
    • Twitch in After Effects
    • Snowfall in After Effects
    • Rain in After Effects
    • Masking Layers in After Effects
    • Group Layers in After Effects
    • Glitch Effect in After Effects
    • Ripple Effect in After Effects
    • Composition in After Effects
    • After Effects Transitions
    • Typography in After Effects
    • Slider Control After Effects
    • Motion Graphics in After Effects
    • Wiggle in After Effects
    • After Effects Portable
    • Wiggle Expression in After Effects
    • Keylight in After Effects
    • Rotoscoping in After Effects
    • After Effects Render
    • After Effects Expressions
    • After Effects Presets
    • Duik After Effects
    • After Effects Split Clip
    • Trapcode in After Effects
    • Plexus After Effects
    • Logo Reveal After Effects
    • Mocha in After Effects
    • Twixtor in After Effects
    • Lens Flare in After Effects
    • After Effects Particles
    • After Effects Timeline
    • After Effects Tracking
    • Camera Tracking in After Effects
    • After Effects Repeater
    • After Effects Cartoon
    • After Effects Loop Expression
    • After Effects?Optical Flares
    • Glow in After Effects
    • After Effects GIF
    • After Effects Motion Tracking
    • After Effect Kinetic Typography
    • Cut Clips in After Effects
    • Lower third after effect
    • Masking Layers in Adobe After Effects
  • Basic
    • What is After Effects
    • After Effects Versions
    • After Effects Software
    • After Effects Shortcuts
    • Adobe After Effects Plugins
    • How to Use After Effects
  • After Effects Tools
    • After Effects Tools
    • After Effect Hologram
    • Pen Tool in After Effects
    • Puppet Tool in After Effects
    • KeyFrames in After Effects
    • Adding Keyframes in After Effects

Related Courses

After Effects Training Course

Adobe Premiere Pro Training Course

Design Training Course

After Effects Loop Expression

By Preeti PrajapatiPreeti Prajapati

After Effects Loop Expression

Introduction to Loop Expression in After Effect

Loop expression is a type of expression of after effect which allows you to repeat, offset, and continue keyframed animations. We use loopOut () as a syntax for loop expression. We can repeat any animation again and again with this expression without making multiple copies of the layer of our animation. You can apply this expression on any property of any object for animating that property continues, repeated, or in Ping-Pong mode. In this article, we will discuss how we can use this expression and handle its parameters for getting the best result in our animation and also learning how to save our time by using expressions in this software.

How to Use Loop Expression in After Effect?

We can use this expression by following some simple steps of using this expression and also learn the meaning of syntax of this expression but before starting we should have look on the working screen of this software so that there will be no problem occur during our learning about this topic.

At the top of the working screen, there is a Menu bar that has several menus. Below this, we have a toolbar along with a property bar of an active tool. Below this toolbar, we have three sections such as at left side we have Project panel along with Effect controls panel, at the center, there is Composition window in which we can see our current working, at the right side we have some parameters’ sections such as Preview tab, Align tab, Effects & Presets tabs and some others. Below these sections we have two more sections at the lower end of the screen of this software that is at the left side there is layer panel and Timeline frame sections at the right side. You can adjust all these sections as per your choice at any other place on the working screen.

After Effects loop expression output 1

Start Your Free Design Course

3D animation, modelling, simulation, game development & others

Now let us have a new composition for our learning. For new composition, go to the Composition menu of the menu bar and click on it. Choose the ‘New Composition’ option from the drop-down list or you can press the Ctrl + N button of the keyboard for having new composition.

After Effects loop expression output 2

A composition setting box will be open. Make your desired settings in the Composition settings box and hit the Ok button of this dialog box.

All in One Design Bundle(280+ Courses, 100+ projects)
AutoCADHoudiniAdobe Premiere ProPhotoshop
SolidworksVFX Visual EffectsCorelDrawUnreal Engine
Price
View Courses
280+ Online Courses | 100+ projects | 2000+ Hours | Verifiable Certificates | Lifetime Access
4.6 (64,963 ratings)

After Effects loop expression output 3

Now let us make a circle for our learning. For circle go-to toolbar of this software and take Ellipse tool by click on its icon.

After Effects loop expression output 4

Now make a circle of any radius and color with this tool by holding the shift button of the keyboard.

After Effects loop expression output 5

Name it as Circle. I will animate its scale property first for learning about loop expression. So press the S button of the keyboard for the scale property of this circle layer.

After Effects loop expression output 6

Now I will click on the stopwatch of scale property for adding the first key on keyframe sections then I will place keyframe play head at about 2 sec and decrease its scale as 50 % for animating its scale.

After Effects loop expression output 7

Now if you want to repeat this animation again and again then you can do one thing that is cut this portion of the animated layer by pressing Ctrl + Shift + D buttons of the keyboard then delete extra portion by pressing delete button of the keyboard.

After Effects loop expression output 8

Now make several duplicate copies of this layer by pressing Ctrl + d button after selecting this layer according to the number of repetitions you want of this animation.

After Effects loop expression output 9

Now select all layers by pressing the shift button of the keyboard and go to the Animation menu of the menu bar and click on it. Go to the Keyframe Assistant option of the drop-down list and choose the Sequence layers option from a new drop-down list.

output 10

And your selected layer will arrange in sequence like this.

output 11

Now when you play your animation it will play in repeated mode.

output 12

Now if you want to save your time and don’t want to make multiple copies of your animated layer then you should go with loop expression. So let us discuss it.

Make click on the stopwatch of scale property of the circle layer by holding the Alt button of the keyboard for the loop expression box in the keyframe section.

output 13

Now type syntax of loop expression in expression box which is loopOut() and click anywhere out of this box.

output 14

Now when you play this animation of scale property of the circle layer it will play again and again in a loop. Make sure O should be in capital letter in the syntax of loop expression otherwise expression will not work.

output 15

Now if you want that the circle will become big at one time and small at another time then type loopOut(“pingpong”) in the expression box of scale property of the circle layer as the expression of loop expression.

output 16

Now you can see the effect of this expression by playing it.

output 17

Now let us do something with position property of this circle layer so press the P button of the keyboard for position property of this layer and animate it as per your choice. I will animate it like this.

output 18

Click on the stopwatch icon of the position property of this layer by holding the Alt button of the keyboard for the expression box. Type loopOut(“cycle”) in the box.

output 19

And when you play it your animated position will repeat again and again in the loop by this syntax also.

output 20

You can type loopOut(“Offset”) in the syntax of loop expression and it will animate your object in each loop with the last keyframe which means your object will increase its path of motion in each loop.

output 21

In this way, you can animate any property of the object in after effect in the loop with the help of loop expression.

Conclusion

After this article, you can easily understand what loop expression is and how you can handle its parameters for understanding about its syntax. Once you understand the syntax of this expression you can easily make a good effect with this expression of after effect. You can add plus point in your motion graphics skill by practicing on the different types of expression of after effect.

Recommended Articles

This is a guide to After Effects loop expression. Here we discuss How to use Loop Expression in After Effect along with the steps. You may also have a look at the following articles to learn more –

  1. After Effects Tracking
  2. Trapcode in After Effects
  3. After Effects Expressions
  4. After Effects Portable
Popular Course in this category
After Effects Training (3 Courses, 3+ Projects)
  3 Online Courses |  3 Hands-on Projects |  25+ Hours |  Verifiable Certificate of Completion
4.5
Price

View Course

Related Courses

Adobe Premiere Pro Tutorial (4 Courses, 7+ Projects)4.9
All in One Design Bundle (280+ Courses, 100+ projects)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Photoshop Tutorial
  • 3ds Max Tutorial
  • All Tutorials
Certification Courses
  • All Courses
  • Design Course - All in One Bundle
  • Photoshop Course
  • Maya Course
  • Unreal Engine Course
  • Unity Course
  • DaVinci Resolve Course
  • Pro Tools Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Design Course

Banner Creation, Object Selection, Sky Replacement, Advance Filters & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Design Course

3D animation, modelling, simulation, game development & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more