How to stop moving platform while widget is on screen

Assuming I got it right and the widget has a button:

Instead of creating additional Custom Events to Stop Start timeline, you can:

Both will work fine, ofc.