How to use javascript file

I don’t know how to use the javascript file imported.
I searched but I don’t find documentations or instructions.
I added one in an extension, but my “internal” javascript don’t read that.
Do I have to declare or include them in some way?
thanks

Did you check the wiki?

https://wiki.gdevelop.io/gdevelop5/events/js-code/javascript-in-extensions/

https://wiki.gdevelop.io/gdevelop5/events/js-code/

1 Like