Here's an idea that I came up with! (I saw the other projects after.) In terms of the block count and amount of costumes, this is the most compact case detection script I've found. The detection only uses 23 blocks, 2 costumes, 2 variables, and 1 preset list.