Field
Introduction
Name
Description
๐ API Explanation and Example
width & height
// Activates function when q is pressed
// **[App.addOnKeyDown Description (Link)](https://www.notion.so/Callbacks-7ac5078bab7c4f3180ae05463713581d)**
App.addOnKeyDown(81, function (player) {
App.sayToAll(`map's horizontal size: ${Map.width}`);
App.sayToAll(`map's vertical size: ${Map.height}`);
});Last updated
Was this helpful?