---
title: loops
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnscenerenderer/loops
---

# loops

A Boolean value that determines whether SceneKit restarts the scene time after all animations in the scene have played.

## Declaration

```swift
var loops: Bool { get set }
```

## Discussion

Discussion If the value of this property is true (the default), SceneKit returns the scene time to zero after all animations associated with the scene have played, causing those animations to repeat. Otherwise, SceneKit stops playing the scene when all animations have completed.

## See Also

### Managing Scene Animation Timing

- [sceneTime](scenekit/scnscenerenderer/scenetime.md)
- [isPlaying](scenekit/scnscenerenderer/isplaying.md)
