Hi, so, due to personal reasons I’ve been away from the game development scene for a long time. Now, I’m trying to get back on my feet and I noticed there’s been many updates to Cocos which is nice! 
But, I’m trying to test out Cocos Studio and I can’t seem to be able to do something as simple as adding a function callback in JS to a button’s touch event…
To recap: I’ve downloaded and (seemingly propperly) installed Cocos for Windows. I’ve created a new JavaScript project and I’ve opened it in Cocos Studio. Now I’ve added a button, and I want it to do something when I click it, but all I can see is the “method” option in the Advanced section of the Properties window… How do I use this?
I’ve been looking but I couldn’t find any information…
Any help will be much appreciated.
PS: I tried looking at the guide, but all I could find was this, and there’s no mention of JavaScript whatsoever in theee… 
PS2: for the record, I haven’t been around from like Cocos2d-js’ v3.6 or something. I’m used to just creating an empty project via console and adding my JS code by hand using an HTML editor like Brackets, but I wanted to give this new editors and tools a chance before I defaulted to that once again…