Inside a point wrangle node, I've added this vex code:
vector pos = prim(1, "P", 0);
int prims[] = pcfind(0, "P", pos, 3.0, 200);
foreach(int prim; prims){
setprimattrib(0, "Cd", prim, {1,0,0}, "set");
}
This should change the primitive color for which passed the pcfind test, right?
Well, the color changes to red while inside the radius pcfind, but it changes back to the original color as soon as it leaves the radius.
What to do to keep the color red permanently?