<p>You can increment the number in each text layer based on its position in the comp's layer list using the &quot;index&quot; function. Like this:</p>
<p>&quot;task \r&quot; + index</p>
<p><a href="https://i.sstatic.net/IYhb6P8W.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IYhb6P8W.png" alt="grab" /></a></p>
<p>Make a box for your first text, parent it to your text, duplicate both, then make sure all the text layers are at the top of your comp list, etc:</p>
<p><a href="https://i.sstatic.net/AJqe2Ie8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AJqe2Ie8.png" alt="grab 2" /></a></p>

CC BY-SA 4.0
2024-04-28T09:39:22.303Z
2024-04-28T09:39:22.303Z
tomh
<p>I need to make an animation with a numbered list. So that the squares with the text &quot;Task 1, task 2 ...&quot; move to the left and the first one disappears from the left, and then the next movement. Is it possible to do this somehow, or is it only manually copied and duplicated?</p>
<p>(P. S. I know that there is a repeater and I attached a screenshot with it. But it does not hang on the text, is it possible to somehow make a structure out of a square shape and text so that after throwing a repeater on top, moreover, somehow using an expression in the text to change the number depending on which copy it is?)</p>
<p><a href="https://i.sstatic.net/ioMGvsj8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ioMGvsj8.png" alt="Repeating the shape in ae" /></a></p>

CC BY-SA 4.0
2024-04-28T09:05:36.953Z
Can you add a clear step by step explanation of what you expect to see in each box at each time?
tomh
<video><after-effects><adobe><after-effects-expressions><after-effects-scripting>
How do I make a numbered list in adobe after effects?
Георгий Мишарин
# How do I make a numbered list in adobe after effects?

(Asked by: username_0 on 2024-04-27)

I need to make an animation with a numbered list. So that the squares with the text "Task 1, task 2 ..." move to the left and the first one disappears from the left, and then the next movement. Is it possible to do this somehow, or is it only manually copied and duplicated?

(P. S. I know that there is a repeater and I attached a screenshot with it. But it does not hang on the text, is it possible to somehow make a structure out of a square shape and text so that after throwing a repeater on top, moreover, somehow using an expression in the text to change the number depending on which copy it is?)

[![Repeating the shape in ae](https://i.sstatic.net/ioMGvsj8.png)](https://i.sstatic.net/ioMGvsj8.png)

**Tags:** video, after-effects, adobe, after-effects-expressions, after-effects-scripting

> **Comments:**
> **username_1**: Can you add a clear step by step explanation of what you expect to see in each box at each time?  

---

## 1 answers

### Answer by username_1 on 2024-04-28. Score: 0 | Accepted answer

You can increment the number in each text layer based on its position in the comp's layer list using the "index" function. Like this:

"task \r" + index

[![grab](https://i.sstatic.net/IYhb6P8W.png)](https://i.sstatic.net/IYhb6P8W.png)

Make a box for your first text, parent it to your text, duplicate both, then make sure all the text layers are at the top of your comp list, etc:

[![grab 2](https://i.sstatic.net/AJqe2Ie8.png)](https://i.sstatic.net/AJqe2Ie8.png)


---

