# Create a grid with a for loop

**URL:** <https://forum.kirupa.com/t/create-a-grid-with-a-for-loop/178219>\
**Category:** Uncategorized\
**Created:** [February 8, 2006, 4:29pm UTC](https://forum.kirupa.com/t/create-a-grid-with-a-for-loop/178219 "2006-02-08T16:29:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Post date:** [February 8, 2006, 4:29pm UTC](https://forum.kirupa.com/t/create-a-grid-with-a-for-loop/178219/1 "2006-02-08T16:29:36Z")

</div>

I can’t figure this out.

Let’s say I have a movie clip of a square in my library and I want to use a for loop to create a 10x10 grid of those squares. How do I approach that?

Spacing each square horizontally or vertically isn’t a problem for me but I’m hung up on how to add 10 squares and then start a new line.

Can I do it all with a for loop?
