I am trying to move a model up and down by dragging the mouse up and down, but i cant seem to get it to work, can anyone help?

i tried something similar to this
Code:
action move_model()
{
 while(mouse_left)
 {
   my.z = mouse_pos.z
 }
}

but that didnt do anything

Last edited by Blade28081991; 09/22/08 21:43.

My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"