How do I create the "LightVector" node in this slide?

I am trying to recreate the node setup in slide 17 but when I try to make a “LightVector” node on as seen on the upper left I get a red node that throws an error and the preview sphere is completely red. I am making the setup in a material function which is what I assume the slide is showing.

For all who are reading this, the error is “LightVector can only be used in LightFunction or DeferredDecal materials”. It looks like you either can’t make a Material Function with Light Vector and need to shift the code into a Material or you make a function without the LightVector/PixelNormalWS/Dot/InputScalar and shift that into the Material. Interesting to know what happened with the LightVector Node though.