and in Event sheet there's just a
Button: On Click -> show()
Pressing a button at runtime will always fire "Gun.js" probably because of the alphabetic list order.
How can I make it to run specific script file
So when I press Button1 - run show() from "Gun.js"
and when I press Button2 - run show() from "Laser.js"
I'm aware that my functions naming is bad and making it for example showGun() and showLaser() will solve all of my problems but I think that's an interesting question to ask. Imagine having a lot of long scripts and having bugs just because you forgot and make couple of functions with same name.