Simple python script not working

Because the inputs of the component (x, y) differ from what you wrote in the script (Curve, Direction, Distance). Unless you calculate some of the values in the script, the component needs those three inputs.

Noted. After changing i am having issue again:


You need to provide a curve for the offset and plug that into the “Curve” input.