Spline Set Closed Loop at Position or just Close Loop?

Hey guys,

I have a spline gun mechanic. It spawns a spline point in space where I’ve set, and each point is created after that based on the same distance from my camera.

What I’d like to do is if I click near the first point I made, to snap the spline loop closed.

I was looking at the node ‘Set Closed Loop at Position’ and I’m not quite sure what it does because I can’t understand the node description

“Specify whether the spline is a closed loop or not, and if so, the input key corresponding to the loop point”

Should I use this? Or is the a better way?

Thank you