Control sine wave area

You need to make sure ‘edge’ points aren’t being affected - though different project, there’s an example here:

Share your file if you want more help.

Best