Timing is really important in this one, that's why Kf6 is the right way whereas Kg6 was losing

Black plays g4
Enter your next move.