Open url or file (PDF)

Hello people.
Greetings everyone!

Does anyone know if / how I could call a “pdf” file when the user clicks on a certain button within the game?

My intention is not to open the pdf embedded in the game, but externally.

Would it be possible to call a pdf file that is in the same folder as the game files through the “open url or file” event?

I thank everyone and look forward to answers!
Gui Rodrigues

Yes. ‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

1 Like

Great, thank you!

And what would be the correct way to hold this event?

How to do this event properly?

I thank you and look forward to answers!
Gui Rodrigues

This looks correct. Make sure the PDF is in the exported files tho.

Hey. Where where exactly is “exported file”?

He means your file.pdf must be in the root folder of your exported game.
What are you exporting as? exe, apk, html5,…?
I tested it for web and it works fine.