Hi! I want to be able to go to an URL when a button is clicked. So when I click the button I ask the browser to go to the address I want. But when I run the game it is not working. The button doesn't react. Why?
Develop games in your browser. Powerful, performant & highly capable.
Please post a screenshot of your event sheet or a capx.
Where are your game uploaded? Is it on your local host? Scirra arcade? NWjs? Android? The host may restrict outgoing links, so it is useful if you tell us more details about it.
You need to add the "browser" object to your project.
Button is clicked -> BrowserObject.GoTo (URL)
How can I add an image here?