Issue stems from how you chose to set the value to scrollObject.style.transform. You have essentially 3 uncombined strings side by side and therefore when compiling the system doesn’t know how to interpret that.
You can either use backticks only and enclose the whole thing, remove all quotation marks. Or add plus signs between your strings and variables in which case you do not need to enclose the variable in ${}
That’s exactly what it is meant to be doing! So I am guessing it isn’t finding the scrollobject on the page or something. Or could it be something else?