add a moving sprite by lua