If you have vizard 2.5 you could do something similar to the following:
Code:
move = vizact.goto(0,0,5,1)
changeSize = vizact.scale_node(3,3,3)
ball.add(move)
ball.add(changeSize)
If you have an earlier version of vizard then you would have to use callbacks:
Code:
def ballStop(object,type):
if type == viz.MOVE:
ball.scale(3,3,3)
ball.callback(viz.STOP_EVENT,ballStop)
ball.goto(0,0,5,1)