How can I remove a slice when a boolean is true and keep the result?

Making a to-do list app, what I want is when the X button is pressed the slice with the same index is removed. I tried using an if statement but that defaults back to the original spread once the button is unpressed.

Basically how can I remove a slice when a condition is met and keep the new spread?
ToDo_List.vl (46.6 KB)

image

There is a new patch in VL.TheBigBang called “25. Managing Spreads”, which is exactly about this topic. Please check it out and I would be happy to get feedback from you if it had helped you with what you try to achieve.

1 Like

Yes it definitely helped, thank you!

  1. My first mistake is I was trying to use the queue node which didn’t allow me to connect a pad after it.
  2. I forgot you can show the “Apply” input pin on some nodes (Any way to have that always shown?)
    image
1 Like