Code to generate stick-cue.