figured it out... on mouseUp set the style of the templateGraphic to polygon create graphic "test" put "0,0" into line 1 of tpoints put "100,100" into line 2 of tpoints set the points of graphic "test" to tpoints end mouseUp