# How can I find the location of a node using the GUI?

Very simple question: how can I find the location of a node in a node tree using the GUI? If it's impossible, how can I do it using Python?

If it makes any difference, I'm using Cycles.

• try to organize your nodes with frames or groups – Bithur Aug 14 '15 at 1:45
• @Bithur Not sure what you're saying. I'm working on a script, and I just want to get an idea of scale and location in the node tree. – JMY1000 Aug 14 '15 at 2:11

In GUI you will find this info in Outliner in Datablocks view under:

BlendfileData > Materials > name_of_material > NodeTree > ShaderNodetree > Nodes > name_of_node > Location

You can also keyframe such value or even drive it.

AFAIK this isn't possible through the GUI, however it is possible with python:

bpy.data.materials['Material Name'].node_tree.nodes['Node Name'].location[0]


Where location[0] gives the X and location[1] gives the Y.

• You can also use location.x and location.y (this works for any location vector in blender) – David Aug 14 '15 at 21:39