By "In FactoryTalk", I assume you mean FTView... Which one, SE or ME?
Right click the object, select animation, "Touch" and give the object an action. To toggle a Discrete for example, the action is under "System", "Tag and Database", "Toggle". Then give that a tag.
Note, for a polygon, the results will be pretty poor, as the entire bounding rectangle is counted as the Touch area. FTView is the absolute worst HMI application in existence, and Rockwell has no desire nor inclination to do anything about it.
If you're using FactoryTalk View ME, forget about it. You'll have to use the push button object. If it's SE, you can do it by assigning the "touch" animation to the shape. Right click on the Object, select Animation, select Touch