For people who do not want to open the script, here is the original script:
The focus is the codeblock starting with
f; g; b; c;
at the end.
Your main problem is that you have
return = pt; at the end, outside of the Imperative statement. This is saying you want to make a variable
return with the value
pt, but you do not have a variable named
pt so it is waiting for an input (check the input side of the node, it has an empty
Your imperative statement already has return inside of it, so you do not need that line. Also
d=[Imperative] can be just
The output you want to use is the arrow to the right of the [Imperative] line, that will contain the info you need.