Current quardnets/rotation

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