I need to implement an API on one of my construct 2 game.
But I don't really know how to do this...
I need to call some fonctions from the API on some events.
Like on my level complete event, I'd need an action which allow me to execute this js code : "API.levelComplete();"
I have no idea how to do this
can you help me ?