atl/sm/jsongui
import "atl/sm/jsongui"GUIs built from a table "DOM" (sm.jsonGui; see sm.JsonGui).
Functions
Section titled "Functions"func Create(settings atl.Value) sm.JsonGuiCreates a JsonGui. settings: { isHud, isInteractive, needsCursor, hidesHotbar, backgroundAlpha, ... } (see sm.GuiOptions).
ViewSize
Section titled "ViewSize"type ViewSize struct { Width, Height int}A size in 720p units.
func ReadViewSize() ViewSize[client] The window size in 720p units.