A small example component that starts a repeating tween on the entity when the component starts. It calls TweenShakeScale with duration and strength, then sets it to loop indefinitely with a YoYo loop.
using Sandbox;
using SbTween;
namespace SbTween.Examples;
public sealed class SbeTSS : Component
{
protected override void OnStart()
{
this.TweenShakeScale( 0.6f, 0.3f ).SetLoops( -1, LoopType.YoYo );
}
}