How to Animate Rounded Rectangle Width with Size Linked to a Slider Control

Опубликовано: 18 Май 2026
на канале: akmotiondev
144
3

The expressions used in the video:
1) For Anchor Point:
w = content("Rectangle 1").content("Rectangle Path 1").size[0];
[-w/2, 0]

2) For Size:
let size = content("Rectangle 1").content("Rectangle Path 1").size;
let width = effect("Rectangle Width")("Slider");
let slider = effect("Slider Control")("Slider");
[width*slider, size[1]];

#aftereffects #aftereffectstutorial