Vertex Position.xyz in the visual shader

Hello, can we access the vertex position.xyz in the visual shader ? I cannot see any node to get that value?

I even tried the “world position”.xyz => vector transform with input as word and output as local but I got similar output as the world position ???

Ok I found that this way is working, is that the recommended way to do it ?