HI Everyone
Does anyone know if there is a way to change the default step duration time for custom style animation?
I want stuff to blink for 500 ms. It would be so much easier if I could just change this once instead of for every object I want to blink.
You could create an expression tag set to
ceil(getMillis(now(500))/500) % 2
and bind your visibility to that.
Pros:
-Looks cleaner when you have your items blinking in sync instead of haphazardly.
-Can easily change blink rate globally.
Cons:
-Not sure if it's good to have the gateway executing an expression this frequently. At least it's simple.
(There's probably a better way to write the expression.)
This is Vision. No reason such a tag couldn't be created as a client tag, not a gateway tag. Or a similar expression on the root container of a main window (synchronizing the blink for the whole window).
1 Like