Chooses from a number of branches each with their own code where changes made within a branch to position, color, width, speed, and rotation only apply within that branch and its sub-branches. Each branch starts with a forward cheveron (">") and ends with a semicolon (";"). Unlike branch, choose requires an integer number of branches to choose (like choose 5). By default, it chooses without replacement (each branch can only be chosen once) but adding "replace" (choose 5 replace) enables choice with replacement. This choose example
shows how to use choose with and without replacement. If the number to choose exceeds the number of branches and replacement is not enabled, each will be choosen in random order up to the ceiling of the number to choose / num branches.