Get Time
![get time](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/get_time-f026e8c9f7152ebaeb1fcc3e0a0e18f6.png)
Get Time tracks an effect’s time. Time in Seconds outputs the total time since the effect has started, while Delta Time outputs the time between frames. A frame is a single image of a camera video feed.
Output
Name | Data Type | Description |
---|---|---|
Time in Seconds | Number | The time, in seconds, that has elapsed since the effect started. |
Delta Time | Number | The time, in seconds, that has elapsed since the previous frame. |
Example
![get time example](https://sf16-va.tiktokcdn.com/obj/eden-va2/vhreh7flszld/large_assets/get_time_example.gif)
In this example, the Get Time node is used to produce a continuously changing value. Time in Seconds is fed into the Sin and Abs nodes to create a value constantly changing between 0 and 1.
![get time node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/get_time_node-b2859699e53ddb518b3fd154cee2fca4.png)