To stick the flag, you need to choose the appropriate path with a swipe on the screen. Then release your finger and the flag will fly along the selected trajectory. At the desired point click the screen again and the flag will get an additional rotation.