To secure a patch placed on denim for sewing.
Use tape along the perimeter of the patch to prevent it from moving during sewing.
Use a glue stick along the back of the patch to prevent it from moving during sewing.