-
Random direction change constrained to 90 degrees
Hey guys, I’m looking for some expression help. I have a square shape layer setup within a grid system. Every 25 frames I would like that square to slide in to a random adjacent square in the grid, so every 25 frames the layer randomly moves either up, down, left or right in to another square in the grid.