Block (class)

This class provides fields/functions for managing Blocks in the current level.

Instance functions
These fields and functions are part of Block Objects and have to be called for that object. Trying to call them from the static Block class will result in an error. Example (feel free to copy it into your lua file to see how it works):

Offsets
This is the memory map for the Block struct. This struct is not fully analysed. Any help is appreciated! Please note that the data is probably not 100% accurate. We'd have to check if the structure SMBX Block+(memory) is actually represented that way in-game.