<!--
{
  "documentType" : "article",
  "framework" : "USD",
  "identifier" : "/documentation/USD/loops",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "loops"
}
-->

# loops

A Boolean value indicating whether the group loops.

## Discussion

The default value is `false`, in which the group executes its actions [performCount](/documentation/USD/performcount) number of times and then stops.

When `true` and [type](/documentation/USD/type) is `serial`, the group restarts its action sequence with the first action after the last action completes. When [type](/documentation/USD/type) is `parallel`, the runtime repeats each action independently.

### Declaration

```other
uniform bool loops = false
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)