of, just do it as you would animate any other entity :]

Code:
while(1)
{
nameofscreenent.pan += 5*time_step;
wait(1);
}