Thing you want to do After obtaining the maximum value of the cube's Y vector, move the ico sphere by the maximum value
In the image below, the maximum value of the cube's y-axis vector was saved using the store named attribute node.
After that, I sent the obtained value to the set position node.
(By the way, this is off topic, but if there is an optimal solution to what I am about to say, please let me know. If you want to apply the value saved with store named attribute node from a different node tree, first join the two nodes, select only the geometry to be moved with the set position boolean, and get the boolean value to be moved each time. is troublesome. Do you have any good ideas? )
Even if I send the value of y vector, it does not work. That's because the index of the ico S you are trying to run is 0 to 11. cube does not have vector data for its index value.
I thought honestly. Trying to get the desired index value, I was able to run ico S using the sample index node.
However, I think it might be possible to make the process simpler. As far as I can think, if you use store named attribute node and cupture attribute node, you cannot pass the value to the index that is joined later. It would be possible to just output a numerical value that does not depend on the node, but I think that would be less readable when the node becomes complex. Ideally, you could use a store attribute node to insert and remove values at any time. Is there any better way?