Curious. This looks like it should work but I am getting syntax errors of a few different lines.
The first line, but I discovered if I re-pickwhip the Slider control the value doesn’t change but the syntax is solved,
More complicated for me since I don’t code, is line 7. Just a syntax with no explanation.
I’m using the most current version, 17.5.1