Level 24 is long but entirely scripted. Follow this order and it falls apart cleanly:
5 up, 2 left, 1 down, 1 right, 1 down, 1 left, 1 down, 1 right, 2 down, 1 up, 1 left, 1 down, 4 left, 1 up, 3 right, 2 up, 1 down, 3 left, 1 up, 3 right, 1 up, 3 left, 1 up, 2 right, 1 left, 2 right.
That is the whole level. The trickiest stretch is the middle zig-zag, where several moves are only one square long, so a single early tap will throw the rest of the sequence off.