Click the flag. The flag might need a double click. Arrow keys to move.
It's very imperfect, so it's very possible to glitch it out. Original engine from Bookwurm305.