Thanks, added the logic inside another actor’s function and called that function from within the widget and it worked.