Hi! I'm trying to implement Gamepix SDK to my HTML game but I have no idea how to get the GamePix.pause function to pause my game. GamePix.pause = function () { / insert here the code to pause your game / } GamePix.resume = function () { / insert here the code to resume your game / }
How can I call my Godot function from the HTML file?