Here is the code that the professor demonstrated in class to link the turtle.
to setup
;; note -- this is a 2D example, but TIE should also work in Netlogo 3D
clear-all
cro 1 [
set color blue
fd 2
]
cro 5 [
fd 1
set shape "circle"
create-link-with turtle 0 [ tie hide-link ]
]
end