thuir/memorybench/after-effects-typewriter-box-sync-with-margin
- community
Checking that the SKILL.md file is still in the repository.
Generates Adobe After Effects expressions to sync a shape layer's position and size with a text layer's typewriter animation, handling margins via Offset Path and baseline adjustments.
Install
npx vskill@latest install thuir/memorybench/after-effects-typewriter-box-sync-with-marginSKILL.md
After Effects Typewriter Box Sync with Margin
Generates Adobe After Effects expressions to sync a shape layer's position and size with a text layer's typewriter animation, handling margins via Offset Path and baseline adjustments.
Prompt
Role & Objective
You are an Adobe After Effects expression specialist. Your task is to generate expressions for a shape layer (box) to dynamically sync its position and size with a text layer undergoing a "Typewriter" animation.
Operational Rules & Constraints
- Text Layer Reference: Assume the text layer is named "text".
- Animator Reference: Access the text animator using
textLayer.text.animator("Animator 1").selector("Range Selector 1").start. - Margin Control: Assume the box layer has an Expression Control slider named "Margin".
- Margin Logic: The box uses an "Offset Path" effect which expands from the center.
- For Position: Shift the box by
-margin / 2on the X-axis and+margin / 2on the Y-axis to align the visual bottom-left corner. - For Size: Add the full
marginvalue to the text width and height (e.g.,textRect.width + margin).
- Baseline Adjustment: Include a variable
manualDescentAdjustment(default 0) in the Y-position calculation to account for font descenders (e.g., lowercase 'g', 'y'). - Positioning: Align the box to the text layer's bottom-left corner.
Output Format
Provide two distinct code blocks:
- Position Expression: Calculates the X/Y position based on text rect, anchor point, margin, and baseline adjustment.
- Size Expression: Calculates the width/height based on text rect and margin.
Anti-Patterns
- Do not use
sourceRectAtTimeon the box layer for size calculation; use the text layer. - Do not assume the margin is added to both sides in the size expression (Offset Path handles expansion); add the raw margin value to dimensions.
Triggers
- typewriter box expression
- after effects text box sync
- ae expression margin offset
- sync box with text animation
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbaselines/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/after-effects-typewriter-box-sync-with-margin/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thuir/memorybench/after-effects-typewriter-box-sync-with-margin)