Guide 1 Docs 2 Reference 3

Function of World

world.screen

Puts a wall of map frames, width by height frames (128 pixels each), in front of a wall; at is the top-left frame. Returns a Screen.

world.screen(opts: { at: Vec3, facing: Facing | "up", up: Facing?, width: number?, height: number?, glow: boolean?, on_click: ((player: Player, x: number, y: number, button: "left" | "right") -> ())?, }) → Screen

Parameters

opts{ at: Vec3, facing: Facing | "up", up: Facing?, width: number?, height: number?, glow: boolean?, on_click: ((player: Player, x: number, y: number, button: "left" | "right") -> ())?, }required

Returns

Screen

Used in