Use the arrows keys or tap for mobile friendliness. This is number 2 in the platformer series 'Going Home'. Also to make sure you avoid glitch double-click the flag. If you get stuck in a wall press 'r'. Also for any other situation you can press 'r' as it is for restart.