How to change anchor link smooth scroll duration

Hi,
I’d like to change an anchor link’s smooth scroll speed.
I asked to Support team but they say I should add Custom Code to add that feature.
I tried to find the way but I couldn’t.

Do you guys know how to change the scroll duration speed?

Thank you so much!