Hide element when site is scrolled down to the bottom

Hello! I have a “scroll to the bottom” button, and I want to hide it once the user has reached the end of the page so it doesn’t block content.

Any help? I couldn’t find anything on google.
Thanks in advance!

This can be done with some code with https://www.wix.com/velo/reference/$w/viewportmixin/onviewportenter .

This example is for a header to change as it scrolls and reappears when scrolled back up but it’s a similar principle.
https://www.youtube.com/watch?v=9_jtI06mqwk