Trouble with input focus (UI vs Game)

could you elaborate on how part 1 works? i’ve tried multiple ways but still can’t get it to work