Move both blocks inside their bounds. The Pointer Events version also accepts touch, pen and arrow keys.