def METHOD_NAME(nw: NodeWrangler):
    geometry = nw.new_node(Nodes.GroupInput, expose_input=[('NodeSocketGeometry', 'Geometry', None)])
    pos = nw.new_node(Nodes.InputPosition)
    x, y, z = nw.separate(pos)
    vector = nw.combine(x, y, nw.vector_math('DISTANCE', pos, [1, 0, 0]))
    nw.new_node(Nodes.GroupOutput, input_kwargs={'Geometry': geometry, 'Vector': vector})
    return geometry