Button that redirects to a website

So I’m trying to make a button that redirects you to a website, but I can’t find anything that would help. Does anyone know what to do? If so, please help me :]

This code opens a webpage:

window.open("https://www.google.com/", "__BLANK");

You can put this in the Mouseclick event of a button

1 Like

thanks so much!