A small example component that starts a looping tween on start. It tweens a float from 0.18 to 0.46 over 0.5 seconds, assigns the value to a HighlightOutline's Width, uses linear easing and infinite YoYo loops.
using Sandbox;
using SbTween;
namespace SbTween.Examples;
public sealed class SbeFloatTest : Component
{
[Property] public HighlightOutline HO;
protected override void OnStart()
{
this.GameObject.TweenFloat( 0.18f, 0.46f, 0.5f, ( val ) => HO.Width = val ).SetEase(EaseType.Linear).SetLoops(-1, LoopType.YoYo);
}
}