How to Change the Mobile Interaction Button
// let button_image = App.loadSpritesheet("button_image.png");
let button;
App.onStart.Add(function () {
// add button
button = App.addMobileButton(8, 145, 75, function (player) {
App.sayToAll(`${player.name}, has tapped the button.`)
});
button.image = button_image;
button.sendUpdated();
});
Last updated
Was this helpful?