Loop is on page one of event commands, under the FLOW CONTROL section.
Button input is actually inside the conditional Branch. Page 4 "Button Pressed". Just put it in a parallel process or common event, so it's always checking, save that it was pressed to a variable/switch, and use that variable/switch somewhere else.