Instance Property


A Boolean value that determines whether the scene is playing.



var isPlaying: Bool { get set }


If the value of this property is false (the default), SceneKit does not increment the scene time, so animations associated with the scene do not play. Change this property’s value to true to start animating the scene.

See Also

Managing Scene Animation Timing

var sceneTime: TimeInterval

The current scene time.


var loops: Bool

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


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software