Getting one object position

Is there posibility of getting position of certain object in shader graph?

I have wall shader with Vector3 variable in it (lets say it’s position of a light). I want this Vector3 to be the same for every wall and so I can manipulate this vector.
I know that there are custom nodes with, for example, main light direction. So I wonder if I can somehow get main light position and manipulate this main light to achieve what i want.

@Wojzax
Try the Position Node, and set the space to “object”

i think I said it wrong, basically I want a global variable to automaticaly update shader property for every object that have this shader.