How to Create Variables

I want to know how and where you can define a variable so that I can change the Opacity value of an element when tapping.

Watch Face Format doesn’t support custom variables like legacy WatchMaker Lua. Instead, you control visibility using conditional expressions with built-in {} tags.

For example, to show an element only in the morning:

{dh24} < 11 ? 100 : 0

This sets opacity to 100 when true, or 0 when false.

Think of {} tags as your inputs, and conditional expressions as your logic.

Thank you very much for the quick response. It would be very helpful to have a manual. Greetings.

Thanks for the feedback - we will get this added soon

Having a manual for all these expressions will go a long way. And it’s like the WFF is selective when it comes to fonts? Because, i noticed that… if a use a particular font that I feel works well for me. When transferring the watchface to my watch, I end up seeing a different font entirely

I think it should be the same in WM Studio as it is in WM mobile.

Recent Wear OS updates introduced a new Watch Face Format that no longer allows certain advanced capabilities used in legacy WatchMaker faces.

What changed?

The new Watch Face Format is required by Google for all watch faces going forward. As part of this transition, some features that relied on the old format are no longer supported:

  • Live scripting

  • Stopwatch functionality

  • Interactive charts

  • Some dynamic elements

More information here About Feature Changes | WatchMaker | WatchMaker

Your example is valid but how can I vary the opacity of a tag by tapping on another tag without being able to put a variable?

Tap to change opacity is the biggest issue with the new format. Don’t really care about sub dials not allowed.

Really annoying not to be able to do this. There’s got to be a way. Please.