---
title: "graph::age"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/graph/age
---

# graph::age

Returns the age of the graph in seconds.

## Declaration

```swift
float graph::age()
```

## Return Value

Return Value The age of the graph in seconds

## Discussion

Discussion The age represents the total elapsed time since the graph was created or reset. This value continuously increases and is useful for time-based animations and effects. note:
