I won without moving B as you left a free draggable to use! Your front door wasn't very smooth as the motors were hitting the bricks. I tried to win with B but Z zapped B and B fell the wrong way.
A bit like Prison Escape, in that the free draggable has no function other than needing to be moved to allow B passage, but it’s presence makes it easy to cheat with. Easy B win.