Table of Contents

Using expressions to create a dynamic watchface

Use operators, mathematical functions or conditional statements to build a more dynamic watchface.

Built-in operators

Watchface Builder supports following operators:

Mathematical Functions

You can also use mathematical functions for your expression. These expressions are supported:

Example

ceil({wct})

Returns the integer value for the current temperature

Conditional statements

You can use condition statements. The syntax is:

$condition?true value:false value$

Following operators are supported for a condition:

Example

For example if you want a blinking watchface layer set following expression on your opacity property.

${ds}%2==0?100:0$

Every time the seconds value changes and the value divided by two gives no rest, the layer will be displayed.