click or resize for a new pattern