click on the moving grey walls to move them, dictating the course of the blocks. The blocks must always avoid red however but can travel through portals.