Add move and rotate in sample.