# Variable

Variable automation line can contain every type of object: Number, Text, Layer, Item, Property, Boolean, project, collection, file and folder.

![](https://2400490544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhmfherpD6FRup-Pt1p%2Fuploads%2FX7rhalxz2mP7ekKMLcsR%2FVariable%2001.png?alt=media\&token=a78975ba-8bb0-446a-8ba5-196298f1ccae)

The Variable purpose is to save custom value of any kind of object for later use.&#x20;

Some properties can be accessed only inside a loop so if you want to use this value outside of the loop you have to save it inside a variable.&#x20;

For accessing Layer/Item properties that is essentially another Layer/Item object for example parent(layer),this layer(layer),source(item),containing comp(item),this item(item) you will have to save them in new variable then this variable will get their actions and properties.&#x20;

Variables enable the automations to be more readable and manageable.&#x20;

Variables have the option to get custom value from the user for automations that needs different value every time.
