Set your fraction using the variables in the first and second fraction sprites, press flag to start
This was just a proof on concept to show it can be done, but by no means the best way to do this.