Thank you Sir,

I can not copy that value in mousefollow function.
Here my try:
function follow_mouse()
{
vect=mouseTo3D();
while (me)
{
vec_set(earth.x,vect);
wait(1);
}
}
It gives me empty pointer error.
What should i do ?
Please help