how to Move cube on a grind like The Last Cube

It needs a bit more to make it work with input. I’ll try and setup something you can download tomorrow.