OpenUrl in the same tab


#1

is there any way to openurl in the same tab browser as the game?


#2

Your question interests me too a lot.


#3

through JS yes.

document.location = "https://google.com";

#4

Thanks Arthur.
Is it in prevision to integrate natively this possibilty in GDevelop?


#5

Yes, GDevelop games being in JS you can add js code anywhere using the JavaScript code event


#6

Yes i got it, i just discovered we can use js code. Thanks


#7

Thanks Arthur and Lokang31 :smile: