Example of how to add actions to buttons:
1. Open button options by double clicking
2. Click "Edit workflow"
3. Add the action you want, for example, "Scroll to top of page"
4. Use the options you want
To use "Scroll to element with id", you must first enable adding IDs to elements in your app, you do this at:
Settings > General > Expose the option to add an ID attribute to HTML elements
After this, you can add IDs to elements and use those IDs in the "Scroll to element with id" action
Example editor:
https://bubble.io/page?name=index&id=demo-scroll-to-smooth&test_plugin=1686091339130x712484012114313200_current&tab=tabs-1