# setting position of each instance with captured attribute node to each vertex

I have a cube and cone , and I want to place each cone in the corner of the cube. The simple way to do it would be:

But, I'm trying to understand how capture attribute works, so I'm trying to set the position for these instances explicitly by using the positions that I capture from the geometry(cube). I did something like this:

It seems to superimpose all 6 instances into the median of the cube. I suppose it's a bit unreasonable for me to expect it would match the number of instance for each vertex position.

Then does that mean the value of the captured attribute is the median of all the position of vertices? Then again, I also do know that it can be actually use to get face/vertex specific data like this:

So I'm confused, How does the capture attribute actually work? Does it give an average of all set of data in the spreadsheet? And how can I use this to set the position of the given set of instances to the position of each vertex?

• In your second image, geometry output of the capture attribute is linked to nothing. In consequence its output is always (0,0,0). This output should be connected among so that there is a defined context to capture into. Commented Feb 16 at 9:55
• @lemon , but where do I actually connect it to?
– bzal
Commented Feb 16 at 10:03
• What Does Capture Attribute Add to Geometry? Commented Feb 16 at 10:15

The capture attribute node output should be connected to a (chain of) element(s) in order to be used by them.

In the cube geometry flow,

We capture (capture is known at cube vertex/point level)

This capture is linked to "instance on points" (capture is known at instance level)

This is linked to "set position" (capture is know of it as we are talking about instance position, which know the capture)

etc.