How to use "swiper" methods and functions outside the "swiper" main initialization function ?

How to use "swiper" methods and functions outside the "swiper" main initialization function ?

Hey,
i just wanted to integrate a simple "stop" button for my slider, on my site.
Sadly i don't know how to use the given methods outside of the "swiper" main initialization function.
For example:
For now i tried to assign the "interactivebutton" to stop the autolooping slider "on.click"
So i just added the mySwiper.stopAutoplay() method inside my buttons function brackets.
But it doesn't even remotely react.
Do i have to somehow transfer the mainfunctions response into the buttons function ?
Does the button function know what the mySwiper.stopAutoplay() method does ?
Am i using wrong syntax ?
This is a shortened version of my live site