# (MX 04 Pro) Setting variables for an mc

**URL:** <https://forum.kirupa.com/t/mx-04-pro-setting-variables-for-an-mc/131137>\
**Category:** Uncategorized\
**Created:** [December 12, 2004, 4:18pm UTC](https://forum.kirupa.com/t/mx-04-pro-setting-variables-for-an-mc/131137 "2004-12-12T16:18:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imported\_FlashFish](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@imported\_FlashFish](https://forum.kirupa.com/u/imported_FlashFish)\
**Post date:** [December 12, 2004, 4:18pm UTC](https://forum.kirupa.com/t/mx-04-pro-setting-variables-for-an-mc/131137/1 "2004-12-12T16:18:20Z")

</div>

What i need is to set some values for a few movie clips and then use them all at once. Eg, i’ll have 5 mcs in my movie, each with either variable = 1 or variable = 2 etc assigned to each of them differently. Then i want to run some code kinda like

if (the variable on mc\_one \< 4){  
do some stuff  
}

Im not sure if im going about it the right way, but i think its fairly obvious what im trying to do. Thanks in advance for your help. Merry Christmas, Happy Hanukkah, Happy Sunday etc etc.
