Rootquestion: Is there an 'easy' way to get the last generated segment ?
The thing is that I am trying to make are blinds, where I have a slat wired to y evenly, but I want the slat to exist of a start and middle and an end.
I know I can probably solve this with RC4 where I can just wire a linearS1 start/default/end RC into the y evenly of the array2s,
but for the sake of argument (in getting the last segment) I figured to still ask how-to.
I managed with
return if((SegmentXCounter==1),1, *input1 being the width
But that only works if the segments are equally sized and even then it doesn't always work,
since at certain XSplineLength lengths it still returns 2.
Is there a better / easier way to get the last segment ?