# Geometry Nodes: Delete specific points from a curve by index

I have a Bezier Curve with 7 points, and a Geometry Node modifier. Geometry Nodes will place a Cube at every point along the curve.

How can use the Delete Geometry node to remove certain points from the curve before placing the cubes? What should I pass to the Selection input to delete these certain points? For example if I want to delete points 2,3,6...how can I do it?

Here are my example nodes; currently I have a Value passing to the Selection which if set to "1" deletes all points, or "0" deletes none:

You can use the Compare node and all its mathematical modes to pick certain numbers to feed into the Selection socket. If you don't want a certain point with a certain index number to not have a cube, you could simply exclude it with a "not equal", for instance:

You can use other mathematical operations with Index as well. Use Modulo 3 to exclude every third point from selection:

...and combine them using boolean logic. Modulo 3, but only if they're also indices higher than 8:

• Thanks, now I see that the Index was the input I needed. Also useful to just use the Selection on the Instance on Points instead of using the Delete Geometry node Commented Mar 24, 2022 at 17:52
• @DavidB Apologies for being to quick on the trigger. Commented Mar 24, 2022 at 21:16
• could you use a noise image to randomly delete the cubes based on how the black and white noise is distributed along the curve index?
– ben
Commented Sep 16, 2023 at 23:10
• @ben Something like this? Noise Texture values by default are between 0 and 1, which means they're all positive, which means they'll delete all instances if used as is (all positives numbers mean "yes" for boolean purposes). By subtracting 0,5 from it, you can get values between -0,5 and +0,5, which will delete them randomly—you could also use Math: Round node for the same thing. Or a Map Range node for more granular control. Commented Sep 16, 2023 at 23:45
• yes!!! thankyou
– ben
Commented Sep 17, 2023 at 0:20