# LocaltoGlobal/globalTo Local prob again

**URL:** <https://forum.kirupa.com/t/localtoglobal-globalto-local-prob-again/35991>\
**Category:** Uncategorized\
**Created:** [November 20, 2003, 2:54pm UTC](https://forum.kirupa.com/t/localtoglobal-globalto-local-prob-again/35991 "2003-11-20T14:54:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikane\_marshal](https://avatars.discourse-cdn.com/v4/letter/i/b9bd4f/32.png) [@ikane\_marshal](https://forum.kirupa.com/u/ikane_marshal)\
**Post date:** [November 20, 2003, 2:54pm UTC](https://forum.kirupa.com/t/localtoglobal-globalto-local-prob-again/35991/1 "2003-11-20T14:54:05Z")

</div>

Hi a bit new to coding so i need help with this

here is the code on the action panel of an mc(movie clip)

onClipEvent(enterFrame) {  
point = new object();  
point.x = \_root.movie.button.\_x;  
globalToLocal(point);  
trace(point.x );  
updateAfterEvent();  
}  
the value of point.x is 0.5 before the globalToLocal and i am trying to get its value in relation to this mc but even after the globalToLocal the value traced is still 0.5  
I would really appreciate some help  
Thanks
