var tween = TweenManager.CreateTween(); tween.AddRotation( TreeModel, Rotation.FromRoll( 5 ), 0.2f ).SetEasing( Sandbox.Utility.Easing.QuadraticOut ); tween.AddRotation( TreeModel, Rotation.FromRoll( -5 ), 0.2f ).SetEasing( Sandbox.Utility.Easing.QuadraticInOut ); tween.AddRotation( TreeModel, Rotation.FromRoll( 5 ), 0.2f ).SetEasing( Sandbox.Utility.Easing.QuadraticInOut ); tween.AddRotation( TreeModel, Rotation.FromRoll( 0 ), 0.2f ).SetEasing( Sandbox.Utility.Easing.QuadraticOut ); await tween.Wait(); Log.Info("Done");