Creating a variable inside of a rollout
Hey folks, I'm working on a small script and running into an annoying problem. Essentially when the user clicks a button, on the "pressed do" part of the roll out I want to create a variable, (such as "variableName = spinnerUserChanges.value") to then use multiple times during the next few lines (rather than constantly having to write "(spinnerUserChanges.value)".
But when I do this and try to run it constantly faults at that line.
I don't understand why this happens... is there a specific way you have to define variables while working with roll outs?