# Cycle through list of variables in Actions Pane while scripting

**URL:** <https://forum.kirupa.com/t/cycle-through-list-of-variables-in-actions-pane-while-scripting/289469>\
**Category:** flash\
**Created:** [May 31, 2009, 4:14am UTC](https://forum.kirupa.com/t/cycle-through-list-of-variables-in-actions-pane-while-scripting/289469 "2009-05-31T04:14:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GarFonz](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@GarFonz](https://forum.kirupa.com/u/GarFonz)\
**Post date:** [May 31, 2009, 4:14am UTC](https://forum.kirupa.com/t/cycle-through-list-of-variables-in-actions-pane-while-scripting/289469/1 "2009-05-31T04:14:55Z")

</div>

I learned that you can cycle through previously typed commands in a command line (pressing the up arrow then if(upArrayHasBeenPressed){ down arrow) }

I know that you can use a function that will add the assignment of a variable to multiple properties (could not find the name of the class though :ear: )

for example:

```auto
// this is just an example, not usable AS3.0
StaticClass.storeAndApplyVariable(variableWithMutlipleProperties){
x = 0;
y = 0;
//....
}

```

What am I, to lazy to type out a variable, can’t remember names very well, or maybe it will be a little faster? [eval] if # of key presses to variable - key presses to type variable is \> 0 then not, guess it depends on what level you are on -\> how do you train when scripting?

I hope that you are having a great time :glasses::megaman:
