# Current quardnets/rotation

**URL:** <https://forum.kirupa.com/t/current-quardnets-rotation/210793>\
**Category:** Uncategorized\
**Created:** [December 22, 2006, 4:45am UTC](https://forum.kirupa.com/t/current-quardnets-rotation/210793 "2006-12-22T04:45:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![morgansaysthis](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@morgansaysthis](https://forum.kirupa.com/u/morgansaysthis)\
**Post date:** [December 22, 2006, 4:45am UTC](https://forum.kirupa.com/t/current-quardnets-rotation/210793/1 "2006-12-22T04:45:21Z")

</div>

okay i have a problem

i hav ball1\_mc moving to the left and rotating

when it touchs box\_mc, i want another ball( ball2\_mc) to have the same rotation as it at the point it touchs the box

if( hitest(box)){  
this.\_rotation=ball1.\_rotation  
}

the problem is, i dont want ball2\_mc to continue to equal ball1\_mc rotation value i just want it to be pointing the direction ball1\_mc was when it hit the box

right now they just spin at the same rate when ball1\_mc touchs the box

How do i take somthings qurdenets into a var at a specific time

what i need is the variable to = the balls rotation, but to stop after taking in the information once, and just once

im sure the answer is very simple, but i got nothin
