legde climb condition macro

hi guys i followed the crocopede tutorial and i got a problem at 6.38 it creates a condition that does not work for me I wanted to know if on the 4.18 it was necessary to do something else I have the impression that it does not detect the socket

video crocopede :