Sketch userdefs macro