Step 1: create a project. Step 2: add green flag clicked, forever, if then, and a key [key here] pressed, also a join block, then put the forever under the when flag clicked, and the if then inside the forever, then in the blank spot in the if then, add the key [key here] pressed block, then edit the join block to say "join enter [blank]," and then put that inside the key pressed block, then boom! You have a if key enter pressed!
i just used my brain, and learned from others