Preview of the code in mBlock
Adustble configertion with descriptions of all the variables
A closer look at the turning statements and button control which will put the mbot on halt for 5 second before resuming to original state (following a line)
For easier maneuverability and also for fun, I have added remote control functions.