This video explains how to use the A and B buttons on the micro:bit using the Javsacript Blocks Editor.