# Using noLoop() function with nested for loops

**URL:** <https://discourse.processing.org/t/using-noloop-function-with-nested-for-loops/24208>\
**Category:** Beginners\
**Tags:** homework\
**Created:** [September 28, 2020, 11:01pm UTC](https://discourse.processing.org/t/using-noloop-function-with-nested-for-loops/24208 "2020-09-28T23:01:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thughes](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thughes](https://discourse.processing.org/u/thughes)\
**Post date:** [September 28, 2020, 11:01pm UTC](https://discourse.processing.org/t/using-noloop-function-with-nested-for-loops/24208/1 "2020-09-28T23:01:41Z")

</div>

Can you use noLoop with nested for loops? I have an assignment that states to create a grid shown in my lesson and observe what it does. Then it says to add the noLoop() function and observe what it does. I have done everything the assignment says to do…when i add the noLoop() function, nothing changes.

I guess my question is…Should i see a difference?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [September 28, 2020, 11:35pm UTC](https://discourse.processing.org/t/using-noloop-function-with-nested-for-loops/24208/2 "2020-09-28T23:35:55Z")

</div>

Hello,

The reference for noLoop() explains what this function does.

Try the first example in the reference with and without noLoop().

`:)`
