# Clock UI

# Clock hands

[![image.png](https://docs.returnofparadise.com/uploads/images/gallery/2025-02/scaled-1680-/i55image.png)](https://docs.returnofparadise.com/uploads/images/gallery/2025-02/i55image.png)

Within RTP\_Clock on the tick we just get the day progress 0-1 and convert it to minutes and hours then it multiplys the values by the angle the hand needs to move

# Clock Gradient

[![image.png](https://docs.returnofparadise.com/uploads/images/gallery/2025-02/scaled-1680-/IpGimage.png)](https://docs.returnofparadise.com/uploads/images/gallery/2025-02/IpGimage.png)

The clock gradient is controlled by a shader, the NightShader Mask output outputs 0 if its day, 0.5 if its dusk or dawn, and 1 if its night. We yse this value to sample a curve to properly lerp between the 3