How To Use ValueAtTime Expression To Loop Mask & Shape Paths in After Effects
April 23, 2024 · Mike Murphy
This tutorial will show you how to use the ValueAtTime Expression to loop Mask & Shape Paths in After Effects as a workaround or substitute for the loopOut Expression.
Adobe After Effects CC 2024: How To Use ValueAtTime Expression To Loop Mask & Shape Paths
**Description:
**This tutorial will show you how to use the ValueAtTime Expression to loop Mask & Shape Paths in After Effects as a workaround or substitute for the loopOut Expression.
**ValueAt Time Expression:
**
valueAtTime(time%key(numKeys).time)
**loopOut Express Limitations:
**loopOut Expression works on Transform Properties (Anchor, Position, Scale, Rotation, Opacity)
loopOut Expression does not work on the user-defined Mask or Shape Path Properties.
ValueAtTime Expression Notes:
Changing the position of the keyframe affects where the loop starts and ends.
If the keyframes are at the start of the Timeline it will loop normally.
If you move further down the timeline it looks at the empty space as part of the loop
———————
To try or buy Adobe After Effects CC 2024:
https://mikemurphy.co/adobe (affiliate link)
⭕️ Check out my new Domestika Course on Adobe Audition:
https://mikemurphy.co/domestika
Murphy Doodle Font:
https://mikemurphy.gumroad.com/l/murphydoodle
Terrapin Textures:
https://mikemurphy.gumroad.com/
——————
Chapters:
00:00 Intro: About The Tutorial
00:16 Transform vs. Mask/Shape Paths
00:32 loopOut Error Message
00:44 Workaround: Use valueAtTime
01:01 Example: Mask + Shape Path Animation
01:27 Preview Animation + Error Message
01:46 Adding valueAtTime Expression
02:15 Note: Placement of Keyframes
02:49 Moving Keyframes Down The Timeline
03:41 Outro
**Software Used:
**Adobe After Effects CC 2024 (Click To Try or Buy)
How To Use The ValueAtTime Expression:
- Create a new Composition
- Add Text Layer
- Create a Mask using the Shape Tool
- Animate Mask Path property to reveal text
- Copy keyframes and move CTI forward and paste keyframes
- Go to Animation Menu
- Click on ‘Keyframe Assistant’
- Select ‘Time-Reverse Keyframes’ to animate text off
- Press Option or Alt and click on Stopwatch next to ‘Mask Path’
- Enter ValueAtTime Expression >>>>>
- valueAtTime(time%key(numKeys).time)
- Press Spacebar to Preview
- Repeat for Shape Layer Animations**
**