You mean you want the moving platform to stop?
Pin invisible sprite to the moving platform
When the player overlap this sprite - stop the platform from moving (if using sine behavior set it to Inactive)
When the player not overlap this sprite - Set the platform to active