I have a pdf file which i will upload in files and when any click then pop a windows to download the pdf file.
is there any possibilities to do this?
Use the Browser object to invoke a download.
Develop games in your browser. Powerful, performant & highly capable.
Browser download not working or I am not doing it properly.
my steps are
Imported a pdf file into project
on any click > Invoke Download myfile.pdf with filename "mynewfile.pdf"
it just open a webspage "https://editor.construct.net/r157/preview/mynewfile.pdf" and close it automatically
no download happened
It won't work in preview, but it should be fine when you export and publish.