# List Input for Node Geometry Editor

**URL:** <https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675>\
**Category:** Questions\
**Tags:** nge\
**Created:** [July 22, 2025, 9:06pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675 "2025-07-22T21:06:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Scherotter1](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/michael_scherotter1/32/16678_2.png) [@Michael\_Scherotter1](https://forum.babylonjs.com/u/Michael_Scherotter1)\
**Post date:** [July 22, 2025, 9:06pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/1 "2025-07-22T21:06:02Z")

</div>

I am using the **Instantiate Linear** block in the **Node Geometry Editor**. For each instance, I want to create a new Box with dimensions supplied from the input as an unbounded list like this [{width:5, height: 4}, {width:4, height: 3}, {width: 2, height:2}]…

How can I do this?

Can I use a **PointList** to supply the width and height, and if so, how would I iterate of the values and use the coordinates for my width and height - and not positions?

Thanks,  
Michael

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 23, 2025, 3:23pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/2 "2025-07-23T15:23:59Z")

</div>

Something like that ?

[Babylon.js Node Geometry Editor](https://nge.babylonjs.com/#TLHL8N#3)

In a nutshell: I use the point list to instantiate the box and have access to the scale I want

We only need to cancel the point list position and then use whatever method we want to position the cubes:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/3/437d3527528e7d9bd8de0d36f5cd2957e44c3172.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Scherotter1](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/michael_scherotter1/32/16678_2.png) [@Michael\_Scherotter1](https://forum.babylonjs.com/u/Michael_Scherotter1)\
**Post date:** [July 23, 2025, 4:11pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/3 "2025-07-23T16:11:50Z")

</div>

How can I access the number of items in the **PointList**?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 23, 2025, 4:42pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/4 "2025-07-23T16:42:24Z")

</div>

visually it is simply by selecting the node and checking the properties on the right

by code: get the node and the property name is “points” which is a Vector3 array

---

<div class="post-metadata">

**Author:** ![Michael\_Scherotter1](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/michael_scherotter1/32/16678_2.png) [@Michael\_Scherotter1](https://forum.babylonjs.com/u/Michael_Scherotter1)\
**Post date:** [July 23, 2025, 4:57pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/5 "2025-07-23T16:57:52Z")

</div>

Can I access the count as a value to perform a calculation in the node graph?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 23, 2025, 5:00pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/6 "2025-07-23T17:00:08Z")

</div>

like the number of points? No but you can create an int input that will provide that value (up to you to set it up correctly off course)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [July 23, 2025, 5:00pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/7 "2025-07-23T17:00:53Z")

</div>

lol and while I was typing it I had an idea! You can use the Geometry Info node to get the number of vertices ;D

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/c/3c126f57820e2780e1f0051ad0d1e65370e6dce2.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Scherotter1](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/michael_scherotter1/32/16678_2.png) [@Michael\_Scherotter1](https://forum.babylonjs.com/u/Michael_Scherotter1)\
**Post date:** [August 15, 2025, 5:50pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/8 "2025-08-15T17:50:16Z")

</div>

In the Node Geometry Editor, I have a point list with three vertices. After building the geometry, I want to update the point list to have four vertices, but I find that in stepping through the code, the points Array does not get updated:

const block = this.\_nodeGeometry?.getBlockByName(name);

if (block instanceof PointListBlock){

block.points = points;

}

this.\_nodeGeometry.updateMesh(this.\_mesh);

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 15, 2025, 7:18pm UTC](https://forum.babylonjs.com/t/list-input-for-node-geometry-editor/59675/9 "2025-08-15T19:18:54Z")

</div>

This is because you need to rebuild the geometry (the point list data is extracted at build time and store into internal data)
