Create a global variable, and then drag the global variable into the event where you want the local variable. The icon will change from a world icon to a pin icon when it's done correctly. In the case of my example picture below you can also just right click on the group name and select add>add variable.
Here is a pic:
[attachment=0:3u73fmrb][/attachment:3u73fmrb]