I’m trying to implement the Fisher-Yates shuffle algorithm in Blueprints. However, the default ForLoop is completely skipping the “Loop Body” section of the function since (I’m assuming) the first index is larger than the last index, and the ForLoop is trying to increase the First Index by 1
Thanks for your question! We are looking at implementing a built-in solution to allow ForLoops to more easily increment or decrement between the First and Last Index values but, in the meantime, for your setup you can use a node setup like this: