Hello,
My variable changes value everytime it goes through the Remove Item node. Why is this happening? Did I implement it wrong?
Hello,
My variable changes value everytime it goes through the Remove Item node. Why is this happening? Did I implement it wrong?
Hi, your random value will change every time it’s used, this is due to how pure functions work. Their values are recalculated each time they are used.
For example here random value will be recalculated each time it’s used, so 3 variables can have different value.
The solution is to save this random value to local variable as you did and later use this local variable: