To place a flag, you must hold down a key (any key) while clicking a block. Cheat button is available by pressing 'C' key