# Assign values question

**URL:** <https://forum.kirupa.com/t/assign-values-question/138103>\
**Category:** Uncategorized\
**Created:** [February 20, 2005, 12:06am UTC](https://forum.kirupa.com/t/assign-values-question/138103 "2005-02-20T00:06:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onsitus](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/onsitus/32/971_2.png) [@onsitus](https://forum.kirupa.com/u/onsitus)\
**Post date:** [February 20, 2005, 12:06am UTC](https://forum.kirupa.com/t/assign-values-question/138103/1 "2005-02-20T00:06:29Z")

</div>

I created a auto scroller which works fine but I would like to change it so that I can reuse it without changing different values each time.  
The movie consist of a scrollmc and a maskmc (just a rectangle)  
So if I write,  
right = 150;  
150 being the \_x position of maskmc  
why wouldn’t it work if I change it to  
right = maskmc.\_x;  
:puzzled:
