How do I make a button go to a website?

#1

I forgot this command, and I have no idea what it is.
I lost my only project with the command because I didn’t save it and another project autosaved last before I accidentally shut down my laptop by closing it’s screen for just a second and then pressed the cancel button but it was too late and all of the programs closed and the only thing that autosaved was a game with only 4 frames and now I’m just so disappointed with myself because I knew that it would shut down but I wasn’t sure and I thought that it would stay on but it didn’t and now I’m rambling about it on a forum.

0 Likes

#2

Hey!

Here’s a simple wick project with a button that opens a website:

URLButton.wick (4.7 KB)

The code in the mousePressed tab looks like this:

window.open("http://www.wickeditor.com/")

2 Likes