# Explanation on code

**URL:** <https://forum.kirupa.com/t/explanation-on-code/236311>\
**Category:** Uncategorized\
**Created:** [August 19, 2007, 7:37pm UTC](https://forum.kirupa.com/t/explanation-on-code/236311 "2007-08-19T19:37:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![everland](https://avatars.discourse-cdn.com/v4/letter/e/c37758/32.png) [@everland](https://forum.kirupa.com/u/everland)\
**Post date:** [August 19, 2007, 7:37pm UTC](https://forum.kirupa.com/t/explanation-on-code/236311/1 "2007-08-19T19:37:01Z")

</div>

currently trying to read someone’s code but i have problem understanding them due to the different way of coding my teacher used to teach me… can someone kindly explain the code below? appreciate that. 🙂  
[COLOR=Indigo]  
onClipEvent (load) {  
OrigY = \_y;  
NewY = OrigY;  
}  
onClipEvent (enterFrame) {  
\_y += ((NewY-\_y)/this.\_parent.Control.Speed);  
}[/COLOR]

thanks  
[COLOR=Indigo][/COLOR]
