made with scratchblocks. code: when flag clicked ::boolean go to x: () y: () ::boolean glide (1) secs to [random position v] ::hat if [red v] to (3) { when flag clicked :: } else { current [year v] ::cat } ::variables timer ::hat (3) + (3) ::hat