Accessing Variables of Loop Outside of Loop

Pretty new to mendix, but I have a variable that is inside a loop I want to be able to return to use in the rest of the microflow that is outside of the loop. Anyone know of a way to do this?    Eg.. Loop { variable abc   }   (rest of microflow) using variable abc… 
1 answers

You can do this by instantiating a variable of the same type outside the loop (use “Create Variable”) and then changing it inside your loop.