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.

  • $\begingroup$ try to organize your nodes with frames or groups $\endgroup$
    – Bithur
    Aug 14, 2015 at 1:45
  • $\begingroup$ @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. $\endgroup$
    – JMY1000
    Aug 14, 2015 at 2:11

2 Answers 2


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

enter image description here

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.

enter image description here

  • 1
    $\begingroup$ You can also use location.x and location.y (this works for any location vector in blender) $\endgroup$
    – David
    Aug 14, 2015 at 21:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .