Clock - change of colour

Is there a way I can create a clock where the last 5secs change to a different colour?

For example: 20sec clock in white text, then 5 to zero in red?

Cheers

#XPression

Text Color changes with text

Thanks Garner, it works really well.

Much appreciated.

Just noticed, when it gets to 5 seconds, the number 5 goes white before turning red - is that solvable?

Example video attached.

Probably your logic is slightly wrong, share a picture of it.

Thanks Red, attached.

Try changing your Smaller Than block to “Smaller Than or Equal To” instead.

Tried both Smaller Than or Equal To & Equal To but its the same.

Packaged the job to see if I am doing correctly

Cheers

Hi Red - do you think this is solvable? I tried your suggestions but I’m still getting a frame or two of white before the number on the clock changes to red.

Cheers

I did this and it seems to work for me.

Thanks Red…adding Trunc to the script, now works perfectly.

Thanks

So the reason for that is that from when it changes from 6 to 5 it was actually 5.xxx so the logic see’s that as more than 5. Putting the trunc there removes all the numbers after the decimal.