# Connect Through Tags

Within Cognex Designer, tags are used to exchange data between all of the elements in the application. When building an application, tags should be used to expose values and settings that can be configured by users. In this example, tags are used to facilitate the user-interaction with the rectangle, and to convey the data to other connected elements.

1. From the System node of the Project Explorer, double-click Tag Manager to open it as a new tab.

2. In the Tag Manager, add the following tags:

   - imageBuffer, as a buffer for acquiring and updating images
   - myRect, as an Object Data Type. This tag will store the VisionPro CogRectangleAffine object. The rectangle will be instantiated and initialized by the script that runs on the Checked event of the CheckBox on the Page.
   - outputImage, as a vproimage Data Type. This tag will store the result of the affine transform, and is bound directly to the second VisionPro Image Display.
   - rectAngle, as a Double Data Type. This tag, and the four below, will store the rectangle's angle, position and skew data, and these tags are bound to the TextBox and Label elements on the Page, and they are updated by the script that will run on mouseUp events.
   - rectCenterX, as a Double Data Type.
   - rectCenterY, as a Double Data Type.
   - rectSkew, as a Double Data Type.

3. Associations to the newly created tags will be made in the Build the Task and Construct the Page steps of the application development.