---
title: lifetime
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/caemittercell/lifetime
---

# lifetime

The lifetime of the cell, in seconds. Animatable.

## Declaration

```swift
var lifetime: Float { get set }
```

## Discussion

Discussion The lifetime of the cell will vary by a random amount with the range specified by lifetimeRange. The default value of this property is 0.0.

## See Also

### Setting Emitter Cell Temporal Attributes

- [lifetimeRange](quartzcore/caemittercell/lifetimerange.md)
- [birthRate](quartzcore/caemittercell/birthrate.md)
- [scaleSpeed](quartzcore/caemittercell/scalespeed.md)
- [velocity](quartzcore/caemittercell/velocity.md)
- [velocityRange](quartzcore/caemittercell/velocityrange.md)
- [xAcceleration](quartzcore/caemittercell/xacceleration.md)
- [yAcceleration](quartzcore/caemittercell/yacceleration.md)
- [zAcceleration](quartzcore/caemittercell/zacceleration.md)
