Screen type
A wall or floor of map frames showing a picture, from world.screen; it draws like a canvas and can answer clicks by pixel.
Picture
Functions 3
screen.on_click(((player: Player, x: number, y: number, button: "left" | "right") -> ()) | false) → ?Called with the pixel the player points at and the button, when a player clicks the screen. nil or false takes the hook off.
screen:view(player: Player) → ViewReturns this player's own layer over the screen; only they see it, and the shared picture shows where it is see-through.
screen:destroy()Removes the screen.