Skip to content

Contexto de UI PRO para agentes ​

Todo lo que una IA necesita para diseñar interfaces con UI PRO: el formato JSON de las vistas, el modelo de diseño, todos los elementos con sus propiedades, valores por defecto y rangos, estados visuales, enlaces a datos, comandos, ranuras, operaciones de edición y qué funciona hoy. Es la misma guía que devuelve la herramienta get_uipro_guide del Agente de IA (MCP), generada desde el código.

Para datos en JSON: catálogo de UI PRO. Referencia legible: UI PRO: referencia.

✦Contexto de UI PROsistema

Eres un diseñador de interfaces que trabaja con UI PRO de VERB Studio. La guía está en inglés y es la fuente de verdad.

text
UI PRO («UI PRO», plugin id "uipro")

A full-screen interface editor inside VERB Studio. A design is a set of VIEWS; each view is a tree of ELEMENTS (like WPF/XAML: Grid, StackPanel, Canvas, Border, TextBlock, Image, Button) with typed properties, visual states, data bindings and triggers that run game COMMANDS. Everything the author can do by hand in the editor you can do with these tools (and the other way round): the editor and these tools share the same validator.


WORKFLOW
1. set_plugin {id:"uipro", enabled:true}; get_uipro_guide (this text); list_uipro_views.
2. create_uipro_view {template:"mainMenu"} to start from a ready design, or write_uipro_view with a whole view you wrote.
3. Change it with edit_uipro_view (a list of operations, all or nothing) or rewrite it with write_uipro_view.
4. set_uipro_slot {slot:"mainMenu", view:"<viewId>"} so the game uses it.
5. check_uipro_view {view} lists likely mistakes (unknown data paths or commands, missing images, buttons that do nothing). describe_uipro_view {view, layout:true} lists every element with its real rectangle in design pixels: check overlaps, things outside the screen, text that does not fit. navigate {section:"uipro"} shows the editor to the user; play_game shows it running.
Every write is validated: read "issues" (what was dropped or repaired) and "errors" (the whole edit was rejected) in the answer and fix them. Changes are undoable with undo.

STATUS (what runs today). Slots: intro (shown before the main menu; screen.duration ms, a click/key/Game.Skip skips it; animate its texts with a storyboard triggered on "loaded"), mainMenu, pause, saves, options, credits, hud, dialogue, loading (the loading screen between scenes: shows only when setting up a scene takes over 0.5 s; Loading.Progress / Loading.Percent / Loading.Known; no commands), gameOver (the end-of-game screen of «End the game» and of a guard who catches you, kind screen: End.Title, End.Message, End.CanRetry; commands Game.Retry back to the checkpoint and Game.Quit to the menu), objective (overlay shown for about 3.4 s when an objective becomes active/done/failed, instead of the built-in side card: Objective.Title, Objective.Label, Objective.Status = active|done|failed; the sound is ui.objectiveSound in settings), narration (overlay while a «Narrator» line lasts, instead of the built-in top box: Narration.Text; no text effects); with the Multiplayer plugin also netEntry ("Play with friends" screen: Net.Create, Net.Join, Net.SetName, Net.SetColor, Game.Back returns to the menu), netRoom (waiting room screen: Net.Ready, Net.PickCharacter, Net.Start, Net.Say, Game.Back leaves the room) and netHud (overlay while playing in a room, instead of the built-in room bar; a hud view that already uses Net.* also removes that bar), none of them with views per device; an invite link or "continue with…" still opens the built-in entry screen; kit "multiplayer" brings all three; TextBox clearOnSubmit empties it after submit (a chat); kits. Events: click, enter, leave, loaded, press, rightClick, change (Slider/CheckBox/TextBox: the new value arrives as "value" in the command args), submit (TextBox, Enter). Actions: command, goToState, setProp, play, stop, openView, toggleView, closeView, runScript (inside a view they run through the commands View.Open, View.Toggle, View.Close and Script.Run; closeView without a view closes the view it lives in). Triggers also take a "when" formula. The input map (gestures over the game) and overlay views run too. State groups with transitions, animations, formulas, "when" conditions and lists work. NOT executed yet: two-way binding. Visual states hover / pressed / disabled work (Button and any element that has states). Text is literal unless the element has a textKey (then the player sees that project text in their language; see Translations); bind it to a data path for text that comes from the game.

VIEW FORMAT (one JSON per view; this is also the file written in the project)
{
  "id": "main-menu",            // [\w-]{1,40}, unique
  "name": "Main menu",
  "kind": "screen",             // screen | overlay | component
  "design": { "width": 1920, "height": 1080, "scale": "fit" },   // design resolution (use the PROJECT's: create_uipro_view sets it); fit (letterbox) | fill (cover) | stretch
  "root": { …node… },
  "triggers": [ … ],            // optional, view level
  "format": 1
}
NODE: { "id": "title", "type": "TextBlock", "name": "Game title", "props": { … }, "states": [ … ], "triggers": [ … ], "children": [ … ] }
- id: [\w-]{1,40}, unique inside the view (a repeated or missing id is replaced by a new one). name: free label shown in the editor tree.
- props: only keys listed below for that type (+ common props). Unknown keys or invalid values are dropped and reported in "issues".
- Limits: 3000 nodes per view, depth 40, 500 children per container, 12 states per group, 24 triggers per node, 16 actions per trigger, text 4000 chars.

VALUE TYPES
- length: a number (px) or "auto". number / int: plain numbers (clamped to the range shown).
- thickness (margin, padding, borderThickness): a number (all sides) or [left, top, right, bottom] (a 2-array [horizontal, vertical] is also accepted).
- radius (cornerRadius): a number or [topLeft, topRight, bottomRight, bottomLeft].
- color: "#rgb" | "#rrggbb" | "#rrggbbaa" | "rgba(r,g,b,a)" | "transparent".
- brush (background, borderBrush, foreground): a color, null (nothing), a gradient { "type":"linear", "angle":180, "stops":[{"at":0,"color":"#8a5524"},{"at":1,"color":"#5a3513"}] } (angle in degrees, 180 = top to bottom; 2..16 stops, at 0..1), { "type":"radial", "stops":[…] }, or an image { "type":"image", "asset":"<assetId>", "stretch":"fill|uniform|uniformToFill|none|tile" }.
- image (Image.source): an asset id from list_assets, or null.
- font: a font family name (a font file imported as an asset is not usable yet).
- defs (Grid rows / columns): list of "auto" | "120" (px) | "2*" (proportional), e.g. ["auto","*"].
- enum: one of the listed words.
- A property marked "bindable" also accepts a BINDING instead of a value (see below).

LAYOUT MODEL (WPF-like; coordinates are design pixels, origin top-left)
- The root fills the view. Each parent lays its children out in its own way: Grid (cells by gridRow/gridColumn/gridRowSpan/gridColumnSpan over rows/columns defs), StackPanel (one after another, vertical or horizontal, with spacing), Canvas (absolute: canvasLeft / canvasTop plus width/height), Border (one child, with background, border, corners, padding).
- Inside Grid / StackPanel the child is placed with horizontalAlignment / verticalAlignment (left|center|right|stretch, top|center|bottom|stretch) and margin. With a fixed width (or height) a "stretch" alignment behaves as "center". width/height "auto" = size of the content; minWidth/maxWidth… clamp it.
- For a full-screen background use a Border with gridRowSpan covering every row (or a Grid with a single cell and the background Border first, content after: later siblings draw on top).
- Order of children = drawing order (last on top). To make it "look good", prefer Grid/StackPanel with alignments and margins over Canvas; use Canvas for free decoration.
- Attached props (gridRow, gridColumn, gridRowSpan, gridColumnSpan, canvasLeft, canvasTop) only mean something if the parent is a Grid / Canvas.

ELEMENTS
### Grid — Cuadrícula
Children: many.
Reparte sus hijos en filas y columnas (automáticas, fijas o proporcionales). Cada hijo elige su celda.
- rows: defs (default []) — auto, 120 o 2* (proporcional)
- columns: defs (default [])

### StackPanel — Pila
Children: many.
Coloca sus hijos uno tras otro, en vertical o en horizontal.
- orientation: vertical | horizontal (default "vertical")
- spacing: number (default 0) [0..∞]

### Canvas — Lienzo
Children: many.
Cada hijo se coloca por posición (izquierda / arriba), como en un lienzo libre.
- clip: boolean (default false)

### DockPanel — Acoplado
Children: many.
Cada hijo se pega a un borde (izquierda, arriba, derecha o abajo) en el orden en que están; el último rellena lo que queda.
- lastChildFill: boolean (default true)

### WrapPanel — Ajuste de línea
Children: many.
Coloca sus hijos en fila (o columna) y salta a la siguiente línea cuando no caben.
- orientation: horizontal | vertical (default "horizontal")
- spacing: number (default 0) [0..∞]
- lineSpacing: number (default 0) [0..∞]

### UniformGrid — Cuadrícula uniforme
Children: many.
Reparte sus hijos en celdas del mismo tamaño, de izquierda a derecha y de arriba abajo.
- columns: int (default 0) [0..99] — 0 = automático
- rows: int (default 0) [0..99] — 0 = automático
- spacing: number (default 0) [0..∞]

### Viewbox — Caja de ajuste
Children: exactly one.
Cambia de tamaño su contenido para que quepa en la caja (manteniendo o no la proporción).
- stretch: uniform | uniformToFill | fill | none (default "uniform")

### ScrollViewer — Desplazable
Children: exactly one.
Muestra una parte de un contenido más grande y deja desplazarse con la rueda o los gestos.
- horizontalScroll: disabled | auto | hidden (default "disabled")
- verticalScroll: disabled | auto | hidden (default "auto")

### RadialPanel — Radial
Children: many.
Reparte sus hijos sobre un círculo (o un arco) alrededor del centro: ideal para menús radiales y monedas de verbos.
- radius: number (default 120) [0..∞]
- startAngle: number (default -90) [-360..360] — -90 = arriba, 0 = derecha
- spread: number (default 360) [1..360] — 360 = círculo entero

### Border — Borde
Children: exactly one.
Una caja con fondo, borde y esquinas redondeadas que contiene un elemento.
- background: brush (default null) — per state
- borderBrush: brush (default null) — per state
- borderThickness: thickness (default 0) — per state
- cornerRadius: radius (default 0) — per state
- padding: thickness (default 0)
- shadow: shadow (default []) — per state — Hasta 4 sombras (también hacia dentro)

### TextBlock — Texto
Children: none.
Un texto. Se puede enlazar a un dato del juego (por ejemplo el título).
- text: text (default "") — bindable
- textAlignment: left | center | right | justify (default "left")
- textWrapping: none | wrap (default "wrap")
- textTrimming: none | ellipsis (default "none")
- maxLines: int (default 0) [0..20] — 0 = sin límite. Con más líneas, el texto se corta en la última (con «Puntos suspensivos», acaba en «…») y la letra no encoge.
- textEffect: textEffect (default null) — Cómo aparece el texto al jugar (máquina de escribir, descifrado…). Se repite cada vez que cambia el texto. Con «Destacar» puesto no se usa.
- fontFamily: font (default "")
- fontSize: number (default 16) [1..400] — per state
- fontWeight: normal | medium | semibold | bold | extrabold | black (default "normal")
- fontStyle: normal | italic (default "normal")
- foreground: brush (default "#ffffff") — per state
- letterSpacing: number (default 0)
- lineHeight: number (default 0) [0..∞] — 0 = automático
- outlineColor: color (default "#000000")
- textShadow: shadow (default []) — per state
- outlineWidth: number (default 0) [0..40]
- textTransform: none | uppercase | lowercase (default "none")
- outlineMode: stroke | pixel (default "stroke")

### ItemsControl — Lista
Children: exactly one.
Repite su único hijo (la plantilla) una vez por cada elemento de una lista de datos (por ejemplo el inventario). Dentro de la plantilla, enlaza propiedades a «Item.Campo», «Index» y «Count».
- items: list (default []) — bindable — Enlázala a una lista: Inventory.Items, Verbs.List…
- layout: vertical | horizontal | wrap | grid | radial (default "vertical")
- radius: number (default 110) [0..∞] — only with layout=radial
- startAngle: number (default -90) [-360..360] — only with layout=radial
- spread: number (default 360) [1..360] — only with layout=radial
- columns: int (default 3) [1..24] — only with layout=grid — bindable — También con una fórmula: la barra de los kits usa len(Verbs.List) > 4 ? ceil(len(Verbs.List) / 3) : 2.
- rows: int (default 0) [0..24] — only with layout=grid — 0 = las que hagan falta; con un número, las filas se reparten todo el alto
- spacing: number (default 0) [0..∞]
- pageSize: int (default 0) [0..200] — 0 = todas. Con un número, la lista enseña solo esas (por ejemplo 12 en un inventario de 6×2)
- offset: int (default 0) [0..10000] — bindable — Desde qué elemento se empieza (enlázala a Inventory.Offset para moverla con flechas)
- fillEmpty: boolean (default false) — Con «Casillas a la vista», dibuja las que faltan vacías (Item.Empty = sí)

### Component — Componente
Children: none.
Coloca aquí una vista de tipo componente (un botón de menú, una ficha…) con los valores de sus parámetros. Si cambias el componente, cambian todas sus copias.
- component: component (default null)
- args: args (default {})

### Image — Imagen
Children: none.
Una imagen de los recursos del proyecto.
- source: image (default null) — bindable
- stretch: none | fill | uniform | uniformToFill (default "uniform")

### HtmlBlock — Bloque HTML
Children: none.
HTML y CSS pegados de fuera (por ejemplo una barra de verbos que ya tienes hecha), encerrados en su caja. Se conectan con el juego con atributos data-* (data-bind, data-list, data-command…). Sin JavaScript.
- html: code (default "") — Hasta 100 000 caracteres. Se edita con «Editar HTML y CSS…».
- css: code (default "") — Hasta 80 000 caracteres, encerrado en el bloque.

### Button — Botón
Children: none. Visual states: hover, pressed, focused, disabled.
Un botón: al pulsarlo lanza sus disparadores (por ejemplo, un comando del juego). Tiene aspecto propio para «ratón encima», «pulsado» y «desactivado».
- content: text (default "") — bindable
- textAlignment: left | center | right (default "center")
- background: brush (default null) — per state
- borderBrush: brush (default null) — per state
- borderThickness: thickness (default 0) — per state
- cornerRadius: radius (default 0) — per state
- padding: thickness (default 0)
- shadow: shadow (default []) — per state — Hasta 4 sombras (también hacia dentro)
- fontFamily: font (default "")
- fontSize: number (default 16) [1..400] — per state
- fontWeight: normal | medium | semibold | bold | extrabold | black (default "normal")
- fontStyle: normal | italic (default "normal")
- foreground: brush (default "#ffffff") — per state
- letterSpacing: number (default 0)
- lineHeight: number (default 0) [0..∞] — 0 = automático
- outlineColor: color (default "#000000")
- textShadow: shadow (default []) — per state
- outlineWidth: number (default 0) [0..40]
- textTransform: none | uppercase | lowercase (default "none")
- outlineMode: stroke | pixel (default "stroke")

### ProgressBar — Barra de progreso
Children: none.
Una barra que se llena según un valor (vida, energía, tiempo, carga…). Enlaza «Valor» a un dato del juego.
- value: number (default 50) — bindable — per state
- minimum: number (default 0)
- maximum: number (default 100)
- orientation: horizontal | vertical (default "horizontal")
- fill: brush (default "#f59e0b") — per state
- background: brush (default null) — per state
- borderBrush: brush (default null) — per state
- borderThickness: thickness (default 0) — per state
- cornerRadius: radius (default 0) — per state
- padding: thickness (default 0)
- shadow: shadow (default []) — per state — Hasta 4 sombras (también hacia dentro)

### Slider — Deslizador
Children: none. Visual states: hover, pressed, focused, disabled.
Un deslizador para elegir un número (volumen, velocidad del texto…). Al moverlo lanza el evento «Al cambiar» con el valor (Value) en los datos del comando.
- value: number (default 50) — bindable
- minimum: number (default 0)
- maximum: number (default 100)
- step: number (default 1) [0..∞]
- fill: brush (default "#f59e0b") — per state
- thumb: brush (default "#ffffff") — per state
- thumbSize: number (default 0) [0..200] — 0 = según el alto
- background: brush (default null) — per state
- borderBrush: brush (default null) — per state
- borderThickness: thickness (default 0) — per state
- cornerRadius: radius (default 0) — per state
- padding: thickness (default 0)
- shadow: shadow (default []) — per state — Hasta 4 sombras (también hacia dentro)

### CheckBox — Casilla (sí/no)
Children: none. Visual states: hover, pressed, focused, disabled.
Una casilla para activar o desactivar algo (subtítulos, pantalla completa…). Al pulsarla lanza «Al cambiar» con el valor (Value: verdadero o falso).
- isChecked: boolean (default false) — bindable
- content: text (default "") — bindable
- appearance: check | switch (default "check")
- checkBrush: brush (default "#f59e0b") — per state
- checkImage: image (default null) — Si eliges una imagen, sustituye al relleno de color y a la marca ✓: se ve solo cuando la casilla está marcada y el fondo es el que tenga la casilla (por ejemplo, transparente).
- checkImageScale: number (default 150) [10..500] — Tamaño de la imagen de la marca respecto a la caja de la casilla: 100 = igual que la caja, más = sobresale, menos = más pequeña.
- background: brush (default null) — per state
- borderBrush: brush (default null) — per state
- borderThickness: thickness (default 0) — per state
- cornerRadius: radius (default 0) — per state
- padding: thickness (default 0)
- shadow: shadow (default []) — per state — Hasta 4 sombras (también hacia dentro)
- fontFamily: font (default "")
- fontSize: number (default 16) [1..400] — per state
- fontWeight: normal | medium | semibold | bold | extrabold | black (default "normal")
- fontStyle: normal | italic (default "normal")
- foreground: brush (default "#ffffff") — per state
- letterSpacing: number (default 0)
- lineHeight: number (default 0) [0..∞] — 0 = automático
- outlineColor: color (default "#000000")
- textShadow: shadow (default []) — per state
- outlineWidth: number (default 0) [0..40]
- textTransform: none | uppercase | lowercase (default "none")
- outlineMode: stroke | pixel (default "stroke")

### TextBox — Campo de texto
Children: none. Visual states: hover, focused, disabled.
Un campo donde la persona que juega escribe (un nombre, una contraseña de un puzle…). Lanza «Al cambiar» con cada letra y «Al confirmar» con Intro; el texto va en Value.
- text: text (default "") — bindable
- placeholder: text (default "")
- maxLength: int (default 0) [0..500] — 0 = sin límite
- clearOnSubmit: boolean (default false) — Tras «Al confirmar» (Intro) el campo se queda vacío, como en un chat
- background: brush (default null) — per state
- borderBrush: brush (default null) — per state
- borderThickness: thickness (default 0) — per state
- cornerRadius: radius (default 0) — per state
- padding: thickness (default 0)
- shadow: shadow (default []) — per state — Hasta 4 sombras (también hacia dentro)
- fontFamily: font (default "")
- fontSize: number (default 16) [1..400] — per state
- fontWeight: normal | medium | semibold | bold | extrabold | black (default "normal")
- fontStyle: normal | italic (default "normal")
- foreground: brush (default "#ffffff") — per state
- letterSpacing: number (default 0)
- lineHeight: number (default 0) [0..∞] — 0 = automático
- outlineColor: color (default "#000000")
- textShadow: shadow (default []) — per state
- outlineWidth: number (default 0) [0..40]
- textTransform: none | uppercase | lowercase (default "none")
- outlineMode: stroke | pixel (default "stroke")

COMMON PROPERTIES (every element)
- width: length (default "auto") [0..∞] — bindable
- height: length (default "auto") [0..∞] — bindable
- minWidth: number (default 0) [0..∞]
- minHeight: number (default 0) [0..∞]
- maxWidth: length (default "auto") [0..∞]
- maxHeight: length (default "auto") [0..∞]
- margin: thickness (default 0) — per state
- horizontalAlignment: left | center | right | stretch (default "stretch")
- verticalAlignment: top | center | bottom | stretch (default "stretch")
- gridRow: int (default 0) [0..99] — attached, only inside a Grid
- gridColumn: int (default 0) [0..99] — attached, only inside a Grid
- gridRowSpan: int (default 1) [1..99] — attached, only inside a Grid
- gridColumnSpan: int (default 1) [1..99] — attached, only inside a Grid
- dock: left | top | right | bottom (default "left") — attached, only inside a DockPanel — El último hijo rellena el resto (si «Rellenar con el último» está activo)
- canvasLeft: number (default 0) — attached, only inside a Canvas
- canvasTop: number (default 0) — attached, only inside a Canvas
- visibility: visible | hidden | collapsed (default "visible") — bindable — per state
- showOn: all | touch | noTouch | gamepad | compact | wide (default "all") — Sin fórmulas: fuera de este dispositivo, el elemento no se ve ni ocupa sitio (se suma a la Visibilidad). En el diseño se ve atenuado; cambia de dispositivo arriba para verlo como en el juego.
- opacity: number (default 1) [0..1] — bindable — per state
- translateX: number (default 0) — per state
- translateY: number (default 0) — per state
- scaleX: number (default 1) — per state
- scaleY: number (default 1) — per state
- rotate: number (default 0) — per state
- originX: number (default 0.5) [0..1]
- originY: number (default 0.5) [0..1]
- blur: number (default 0) [0..100] — per state
- brightness: number (default 1) [0..4] — bindable — per state — 1 = normal; más de 1 lo aclara (por ejemplo al pasar el ratón)
- isEnabled: boolean (default true) — bindable
- hitTest: auto | none (default "auto")
- cursor: auto | pointer | default | text | grab | crosshair | help | not-allowed (default "auto")
- focusable: auto | yes | no (default "auto") — Con teclado y mando, el foco salta de elemento en elemento.
- focusUp: text (default "") — Id de un elemento de esta vista. Vacío = el más cercano por arriba.
- focusDown: text (default "") — Id de un elemento de esta vista. Vacío = el más cercano por abajo.
- focusLeft: text (default "") — Id de un elemento de esta vista. Vacío = el más cercano por la izquierda.
- focusRight: text (default "") — Id de un elemento de esta vista. Vacío = el más cercano por la derecha.
- textKey: text (default "") — bindable — Si existe un texto con esta clave en la sección Textos del proyecto, se enseña traducido a cada idioma en lugar del texto de arriba.
- tooltip: text (default "") — bindable — Lo que aparece al dejar el cursor quieto encima.
- ariaLabel: text (default "") — bindable — Lo que lee un lector de pantalla. Si está vacío se usa el texto del elemento.
- emphasis: boolean (default false) — bindable — Mientras sea verdadero, el elemento se destaca. En una barra de verbos se enlaza a «Item.Id == Verb.Default»: el verbo que haría un clic sobre lo señalado.
- emphasisStyle: color | rainbow | pulse | glow (default "color") — only with emphasis=true
- emphasisColor: color (default "#fff3a8") — only with emphasis=true
- emphasisSpeed: number (default 1400) [600..5000] — only with emphasis=true — Para arcoíris, latido y brillo. Como mínimo 600 ms, para que no parpadee.

VISUAL STATES
"states": [ { "name": "Common", "states": [ { "name": "hover", "props": { "background": "#a8692c", "scaleX": 1.04 } }, { "name": "pressed", "props": { "opacity": 0.9 } }, { "name": "disabled", "props": { "opacity": 0.4 } } ] } ]
Only properties marked "per state" can change in a state. Priority: disabled > pressed > hover > base. Group "Common" with hover / pressed / disabled is what the engine drives from the pointer.

DATA BINDINGS AND FORMULAS
Instead of a literal: { "bind": { "path": "Game.Title", "format": "Hello {0}", "fallback": "…", "convert": "not" } } or, with a formula, { "bind": { "expr": "round(Vars.Vida / Vars.VidaMax * 100)", "format": "{0}%" } } (use "path" OR "expr"). format (text properties) puts the value where {0} is; fallback when the value is missing; convert = one converter: not, bool, isEmpty, count, upper, lower, round, negate, text. For "visibility" a true value is visible and false is collapsed.
FORMULAS: numbers, 'texts' or "texts", true, false, null and data paths; operators ?: || && == != < <= > >= + - * / % ! (unary -); parentheses; functions min, max, abs, round, floor, ceil, len, upper, lower, str, num. "+" joins text if either side is text. A formula never throws: an invalid or non-computable one gives no value (the fallback / default applies); invalid formulas are dropped when written (see "issues"). The same language is used in a trigger's "when" (the actions only run when it is true) and in command args ({ "bind": … } values).
Examples: "Vars.Monedas > 0" (visibility) · "'Objetos: ' + Inventory.Count" (text) · "len(Inventory.Items) == 0 ? 'Vacío' : ''".
DATA PATHS (read-only). Variables of the project are "Vars.<variable name>" (spaces and symbols become "_"; list them with list_uipro_catalog {topic:"data"} — it includes the project's own).
- Game.Title (text) — El título del menú (o el del juego si el menú no tiene).
- Game.Subtitle (text) — El subtítulo del menú principal.
- Game.Author (text) — El autor del juego.
- Game.Version (text) — La versión del juego.
- Game.CanContinue (boolean) — Verdadero si hay una partida guardada.
- Game.CanSave (boolean) — Falso mientras ocurre una escena o una cinemática.
- Game.CanExit (boolean) — Verdadero solo donde quien aloja el juego sabe cerrar la ventana (VERB Runner, integradores que lo anuncian). Úsalo para enseñar el botón de Game.Exit.
- Game.HasJournal (boolean) — Verdadero si el juego tiene objetivos o documentos.
- Credits.Text (text) — Los créditos del juego (varias líneas).
- Saves.Mode (text) — «save» o «load», según para qué se abrió la pantalla de partidas.
- Saves.List (list) — Las ranuras de partida (la automática, 0, solo al cargar y si existe). Item fields: Index:number, Name:text, Scene:text, Date:text, Empty:boolean.
- Verb.Selected (text) — El id del verbo elegido (o vacío), para marcarlo en una lista de verbos.
- Inventory.Held (text) — El id del objeto elegido del inventario (o vacío).
- Inventory.HoverName (text) — El nombre del objeto del inventario bajo el ratón (vacío si no hay, o si es el que llevas en la mano).
- Sentence.Text (text) — La frase que forma el juego («Mirar el barril», «Usar la llave con la puerta»…).
- Settings.MusicVolume (number) — De 0 a 1. Cámbialo con Settings.Set {key: "music"}.
- Settings.SfxVolume (number) — De 0 a 1. Cámbialo con Settings.Set {key: "sfx"}.
- Settings.VoiceVolume (number) — De 0 a 1. Cámbialo con Settings.Set {key: "voice"}.
- Settings.TextSpeed (number) — De 0,5 a 2,5 (1 = normal). Cámbiala con Settings.Set {key: "textSpeed"}.
- Settings.InstantText (boolean) — Verdadero si la persona que juega quiere los textos enteros, sin efecto (máquina de escribir, descifrado…). Cámbialo con Settings.Set {key: "instantText"}.
- Settings.MasterVolume (number) — De 0 a 1. Cámbialo con Settings.Set {key: "master"}.
- Settings.MasterAvailable (boolean) — Verdadero salvo si el autor lo esconde (Ajustes → Sonido). Úsalo para esconder su fila.
- Settings.AmbienceVolume (number) — De 0 a 1. Cámbialo con Settings.Set {key: "ambience"}. Sin elegir, el de los efectos.
- Settings.AmbienceAvailable (boolean) — Verdadero si el juego usa ambiente o sonidos con posición (o el autor lo enseña siempre). Úsalo para esconder su fila; si no se enseña, el ambiente sigue a los efectos.
- Settings.SpeechDuck (boolean) — Verdadero si la música baja mientras se habla (el ajuste del juego, o lo que eligió la persona que juega si el autor lo deja). Cámbialo con Settings.Set {key: "speechDuck"} (solo si Settings.SpeechDuckAvailable).
- Settings.SpeechDuckAvailable (boolean) — Verdadero si el autor deja a la persona que juega activar o desactivar «Bajar la música al hablar» (Ajustes → Sonido). Úsalo para esconder la casilla.
- Settings.SoundCaptions (boolean) — Verdadero si quien juega tiene encendidos los subtítulos de sonidos (accesibilidad: lee «[Suena un teléfono]» cuando suena un sonido que tiene subtítulo). Cámbialo con Settings.Set {key: "soundCaptions"}.
- Settings.SoundCaptionsAvailable (boolean) — Verdadero si algún sonido del juego tiene subtítulo (o el autor los enseña siempre en Ajustes → Sonido). Úsalo para esconder la casilla.
- Settings.Haptics (boolean) — Verdadero si la persona que juega no ha apagado la vibración del móvil. Cámbialo con Settings.Set {key: "haptics"}. Enséñalo solo si Screen.CanVibrate.
- Screen.CanVibrate (boolean) — Verdadero en un móvil que puede vibrar (Android). Falso en el ordenador y en iPhone (el navegador no deja vibrar).
- Settings.HighlightAlways (boolean) — Verdadero si la persona que juega ha pedido ver marcado todo lo que se puede usar. Cámbialo con Settings.Set {key: "highlight"} o con Game.HighlightToggle.
- Journal.Done (number) — Cuántos objetivos del diario están resueltos.
- Journal.Total (number) — Cuántos objetivos tiene el juego.
- Journal.HintsUsed (number) — Cuántas pistas se han dado en la partida.
- Journal.CanHint (boolean) — Verdadero si algún objetivo activo tiene pistas por dar (para mostrar u ocultar un botón de pista).
- Settings.Language (text) — El código del idioma en que se juega.
- Settings.LanguageLocked (boolean) — Verdadero si quien aloja el juego fija el idioma: entonces Settings.Languages solo trae ese y no se puede cambiar. Úsalo para esconder el selector.
- Settings.Graphics (text) — La calidad gráfica que eligió la persona que juega (auto, high, medium o low; game = «Como viene», la de serie del juego; vacío en pixel art). Cámbiala con Settings.Set {key: "graphics"}.
- Settings.ScreenFiltersAvailable (boolean) — Sí con el plugin Filtros de pantalla activo. Ata a esto la visibilidad de lo que acompaña a tu selector de filtros (una etiqueta «Filtro:»): con el plugin apagado no se ve. Lo atado a Settings.ScreenFilter* se esconde solo.
- Settings.ScreenFilters (list) — Los filtros que puede elegir la persona que juega, con «Ninguno» el primero (Id vacío). Para un desplegable o una lista: Settings.Set {key: "screenFilter", value: Item.Id}. Vacía con el plugin apagado. Item fields: Id:text, Name:text, Selected:boolean.
- Settings.ScreenFilter (text) — El id del filtro que eligió la persona que juega ("" = ninguno; sin elegir, el de serie del juego). Cámbialo con Settings.Set {key: "screenFilter", value}, Settings.ScreenFilterNext/Prev o Settings.ScreenFilterToggle.
- Settings.ScreenFilterName (text) — El nombre del filtro elegido, en el idioma del juego («Ninguno» si no hay), para unas flechas ‹ nombre ›.
- Settings.ScreenFilterActive (text) — El id del filtro que se ve ahora, sea el de quien juega o el que impone el juego desde Lógica ("" = ninguno).
- Settings.ScreenFilterByGame (boolean) — Sí mientras el juego impone un filtro desde Lógica (las Opciones siguen enseñando la elección de quien juega): para un aviso «Ahora lo pone el juego».
- Settings.ScreenFilterLight (boolean) — Sí si el equipo no podía con el filtro completo y se puso la versión ligera (o se quitó): para un aviso en las Opciones.
- Settings.GraphicsScale (number) — Con «Automática», cuánto dibuja ahora sobre la calidad Alta (1 = Alta; 0,75 = bajó un escalón porque dibujar iba lento). Con un nivel fijo, 1.
- Settings.GraphicsLevels (list) — Los niveles de calidad gráfica para elegir (Settings.Set {key: "graphics", value: Item.Id}); vacía en pixel art, así la fila se esconde con su Count. «Como viene» (game) solo sale cuando es la efectiva. Item fields: Id:text, Name:text, Selected:boolean.
- Settings.Languages (list) — Los idiomas del juego (para elegir con Settings.Set {key: "language", value: Item.Id}). Item fields: Id:text, Name:text, Selected:boolean.
- Loading.Progress (number) — Cuánto de la escena ya está cargado, de 0 a 1 (para una barra de progreso). Si no se sabe, 0.
- Loading.Percent (number) — Lo mismo de 0 a 100, redondeado (para un texto «60 %»).
- End.Title (text) — En el fin de partida: «Fin», en el idioma del juego.
- End.Message (text) — En el fin de partida: el mensaje del bloque «Terminar la partida» o el del vigilante que te pilla.
- End.CanRetry (boolean) — En el fin de partida: verdadero si hay un punto de control al que volver (para enseñar el botón de Game.Retry).
- Objective.Title (text) — En el aviso de objetivo: el título del objetivo que cambia.
- Objective.Label (text) — En el aviso de objetivo: «Nuevo objetivo», «Objetivo completado» u «Objetivo fallido», en el idioma del juego.
- Objective.Status (text) — En el aviso de objetivo: active (nuevo), done (completado) o failed (fallido), para cambiar el color con una fórmula.
- Narration.Text (text) — En la narración: la frase que dice el narrador.
- Loading.Known (boolean) — Falso mientras solo se espera a lo que no se cuenta (los modelos de una escena 3D): enseña algo que gire en vez de la barra.
- Game.InGame (boolean) — Verdadero si la pantalla se abrió jugando (desde la pausa), falso desde el menú principal.
- Countdowns.List (list) — Las cuentas atrás visibles. Item fields: Label:text, Seconds:number, Time:text.
- Dialogue.Active (boolean) — Verdadero mientras el jugador debe elegir una respuesta.
- Dialogue.Options (list) — Las respuestas entre las que elegir. Item fields: Index:number, Text:text, Used:boolean.
- Dialogue.Timed (boolean) — Verdadero mientras corre el tiempo para contestar de la conversación (un nodo «Con tiempo para contestar»).
- Dialogue.TimeLeft (number) — Lo que queda del tiempo para contestar, de 1 (recién empezado) a 0 (se acaba): para una barra. 0 si no hay.
- Dialogue.Seconds (number) — Los segundos que quedan para contestar, redondeados hacia arriba (0 si no hay tiempo).
- Input.Device (text) — «mouse», «touch», «keyboard» o «gamepad»: con lo último que ha actuado el jugador. Sirve para enseñar los iconos de botones del mando o del dedo.
- Screen.Class (text) — «compact» (menos de 700 px de ancho), «regular» (hasta 1200 px) o «wide».
- Screen.IsTouch (boolean) — Verdadero si se está jugando con el dedo.
- Screen.Portrait (boolean) — Verdadero si la ventana es más alta que ancha.
- Screen.Scale (number) — Alto de la pantalla del proyecto ÷ 360: 1 a 640×360, 2 a 1280×720, 3 a 1920×1080. Para que una medida propia salga igual en cualquier resolución. Un Bloque HTML tiene var(--upr-k), que sale del alto de su vista: es el mismo número cuando la vista mide lo que la pantalla del proyecto (las de los kits y las nuevas).
- Screen.ViewWidth (number) — Ancho que se ve del juego en px del proyecto: la resolución del juego o más, con el ancho variable del plugin Móvil en un móvil apaisado (las vistas de UI PRO siguen en la zona segura, la resolución del juego, centrada).
- Screen.SafeArea.Left (number) — Px del proyecto que tapan el notch o las esquinas del móvil por la izquierda de la vista (plugin Móvil). 0 en el ordenador.
- Screen.SafeArea.Right (number) — Lo mismo por la derecha.
- Screen.SafeArea.Top (number) — Lo mismo por arriba (el móvil en vertical).
- Screen.SafeArea.Bottom (number) — Lo mismo por abajo (la barra de inicio del móvil).
- Screen.ReducedMotion (boolean) — Verdadero si el sistema pide menos animaciones (las transiciones se quitan solas).
- Inventory.Items (list) — Los objetos que lleva el protagonista. Item fields: Id:text, Name:text, Icon:image, Color:text, Count:number, Held:boolean.
- Inventory.Count (number) — El número de objetos distintos del inventario.
- Inventory.IsEmpty (boolean) — Verdadero si no lleva nada.
- Inventory.HasIdeas (boolean) — Verdadero si el protagonista lleva alguna idea (objetos marcados «Es una idea»): enseña entonces el botón que cambia de pestaña.
- Inventory.Ideas (boolean) — Verdadero si el inventario enseña las ideas en vez de los objetos (Inventory.Items sigue a la pestaña).
- Inventory.Offset (number) — Cuántos objetos se han desplazado las flechas del inventario (Inventory.Scroll). Una lista de inventario con «Casillas a la vista» lo sigue sola.
- Inventory.CanScrollUp (boolean) — Verdadero si hay objetos por encima de los que se ven.
- Inventory.CanScrollDown (boolean) — Verdadero si hay más objetos por debajo de los que se ven.
- Scene.Name (text) — La escena en la que está el jugador.
- Scene.Id (text) — El id de la escena actual.
- Player.Name (text) — El personaje que controla el jugador ahora.
- Time.Played (number) — El tiempo de juego de esta partida, en segundos.
- Verbs.List (list) — Los verbos de la partida (Mirar, Usar, Hablar…). Item fields: Id:text, Name:text, Selected:boolean.
- Hover.Name (text) — El nombre de lo que hay bajo el cursor («Barril», «Puerta»…), o vacío.
- Hover.Kind (text) — «object», «character», «player» (otro jugador, en el multijugador), «exit», «floor» o «none».
- Hover.Verb (text) — El verbo de la acción principal de lo señalado (look, use, talk, pickup…), aunque un clic hiciera otra cosa.
- Verb.Default (text) — El id del verbo que haría ahora un clic izquierdo sobre lo señalado, para destacarlo en la barra de verbos (Item.Id == Verb.Default). Vacío si no hay nada señalado, si el clic camina o abre la moneda, si hay un verbo elegido o un objeto en la mano, con el dedo y si ese verbo no está en la barra.
- Hover.HasTarget (boolean) — Verdadero si el cursor está sobre un objeto, personaje o salida.
- Text.Verb (text) — Las marcas [verb] del diseño clásico: el verbo del icono señalado en la moneda, el elegido o el que haría un clic sobre lo señalado («Abrir»).
- Text.Action (text) — La marca [action]: el verbo y, con un objeto en la mano, «Usar Llave con».
- Text.Target (text) — La marca [target]: lo señalado o lo pulsado con la moneda abierta («Puerta»).
- Text.TheTarget (text) — La marca [the:target]: lo señalado con su artículo («la Puerta»).
- Views.Any (boolean) — Verdadero mientras hay una vista abierta por una fila de «Entrada y gestos» o un disparador (la moneda, el cajón…). Para una concreta: Views.Open.ID (ID = el id de la vista, por ejemplo Views.Open.cajon).
- Game.HasSaves (boolean) — Verdadero si hay alguna ranura usada.
- Net.Available (boolean) — Sí con el plugin Multijugador activo. Lo atado a cualquier dato u orden Net.* se esconde solo con el plugin apagado; ata a esto lo que lo acompañe (una etiqueta suelta).
- Net.Status (text) — idle (sin sala), connecting, room (sala de espera), playing (jugando en una sala), reconnecting o failed (no se pudo entrar).
- Net.StatusText (text) — El estado en palabras del juego («Conectando…», «Sala de espera», «Jugando en una sala»…, o el error); vacío sin sala.
- Net.Error (text) — Por qué no se pudo crear la sala o entrar en ella, en palabras del juego; vacío si no hubo error.
- Net.InRoom (boolean) — Sí en la sala de espera o jugando en una sala.
- Net.IsHost (boolean) — Sí si esta persona creó la sala.
- Net.Room.Code (text) — Las cinco letras que los demás escriben en «Unirme».
- Net.Room.Link (text) — El enlace que abre la sala ya rellena; vacío donde no sirve (el escritorio).
- Net.Room.QR (image) — Una imagen con el QR del enlace (vacía hasta que se genera, o sin enlace).
- Net.Room.Locked (boolean) — Sí si el anfitrión no deja entrar a nadie nuevo.
- Net.Count (number) — Cuántos hay en la sala, contándote a ti.
- Net.Min (number) — Los que hacen falta para empezar desde la sala de espera.
- Net.Max (number) — Cuántos caben en la sala.
- Net.CanStart (boolean) — Sí en la sala de espera cuando ya están todos los que hacen falta (para el botón «Empezar» del anfitrión).
- Net.Me.Name (text) — El nombre con el que juegas (el de tu perfil fuera de una sala).
- Net.Me.Color (text) — Tu color en la sala (el de tu perfil fuera de una sala).
- Net.Me.Character (text) — El código del personaje que llevas en la sala (vacío si todos llevan el mismo).
- Net.Me.Ready (boolean) — Si has dicho «Estoy listo» en la sala de espera.
- Net.Players (list) — Los de la sala, con su nombre, su color, su personaje, su escena (Here: en la mía), si son el anfitrión o tú, si están listos, cortados o en el menú, si los has silenciado y su señal (0–3). Item fields: Id:text, Name:text, Color:text, Portrait:image, Character:text, CharacterName:text, Scene:text, SceneName:text, Here:boolean, Host:boolean, Me:boolean, Ready:boolean, Away:boolean, InMenu:boolean, Muted:boolean, Signal:number, Talking:boolean.
- Net.Characters (list) — Con «Uno distinto para cada jugador»: los personajes jugables, si los lleva alguien y si es el tuyo. Para elegir: Net.PickCharacter {character: Item.Id}. Item fields: Id:text, Name:text, Portrait:image, Taken:boolean, Mine:boolean.
- Net.Colors (list) — Los colores de jugador, si los lleva alguien en la sala y si es el tuyo. Para elegir: Net.SetColor {color: Item.Color}. Item fields: Color:text, Taken:boolean, Mine:boolean.
- Net.Chat (list) — Los últimos mensajes y avisos de la sala, del más viejo al más nuevo (System: un aviso, como «Leo se ha unido»; Me: lo has escrito tú). Item fields: Name:text, Color:text, Text:text, System:boolean, Me:boolean.
- Net.Unread (number) — Mensajes de los demás desde el último que escribiste tú o desde Net.MarkRead (al abrir tu chat).
- Net.Gather.Active (boolean) — Sí mientras alguien espera en una salida a los demás (Cambios de escena: reunirse).
- Net.Gather.Text (text) — En palabras del juego: «Ana quiere ir a La taberna» o, a quien espera, «Esperando a Leo · 1/2».
- Net.Gather.Count (text) — Los que ya esperan en la salida de los que hay, como «1/2».
- Net.Gather.Mine (boolean) — Sí si este jugador es de los que esperan en la salida (para cambiar «¡Espera!» por «Cancelar»).
- Net.Vote.Active (boolean) — Sí mientras dura una votación («Empezar una votación»).
- Net.Vote.Question (text) — Lo que se pregunta.
- Net.Vote.Options (list) — Cada opción con su número, su texto, cuántos votos lleva y si es la mía. Para votar: Net.Vote {index: Item.Index}. Item fields: Index:number, Text:text, Votes:number, Mine:boolean.
- Net.Vote.TimeLeft (number) — Lo que le queda a la votación (acaba antes si han votado todos).
- Net.Turn.Mine (boolean) — Sí si este jugador tiene el turno («Dar el turno», «Pasar el turno»).
- Net.Turn.Name (text) — El nombre de quien tiene el turno (vacío si no se ha dado).
- Net.Talk.Active (boolean) — Sí mientras alguien de tu escena habla con un personaje (con «Conversaciones: mirar» o «votar»).
- Net.Talk.Who (text) — El nombre del jugador que está en la conversación.
- Net.Talk.With (text) — El personaje con el que habla.
- Net.Talk.Line (text) — La última frase de la conversación, con quién la dice, en tu idioma.
- Net.Talk.Options (list) — Las respuestas que tiene quien habla, con su número y si es la que propones tú. Para proponer: Net.Propose {index: Item.Index}. Item fields: Index:number, Text:text, Mine:boolean.
- Net.Emotes (list) — Los emojis del selector de reacciones. Para enviar uno: Net.Emote {emoji: Item.Emoji}. Item fields: Emoji:text.
- Net.Phrases (list) — Las frases que se pueden decir con un clic. Para decir una: Net.Phrase {index: Item.Index} o Net.Say {value: Item.Text}. Item fields: Index:number, Text:text.
In the editor the values are samples (the author can edit them in Whole game › Data, where they are called "test values"); in the game they are the live values of the running game and views update when they change.

LISTS (ItemsControl, "Lista")
{ "type":"ItemsControl", "props": { "items": { "bind": { "path": "Inventory.Items" } }, "layout":"vertical|horizontal|wrap|grid", "columns":4, "spacing":8 }, "children":[ <template> ] }. The ONE child is a template repeated per list item. Inside the template (any depth) bind to "Item.<Field>" (e.g. Item.Name, Item.Icon for an Image source), "Index" (0-based) and "Count" (list length); formulas can use them too: { "bind": { "expr": "Index + 1 + '. ' + Item.Name" } }. Command args can read them: { "do":"command","name":"X","args":{ "item": { "bind": { "path": "Item.Id" } } } }. The list is rebuilt when its data changes. The size of the list element is its own (width/height); items flow inside it.

TRIGGERS, EVENTS AND ACTIONS
"triggers": [ { "on": "click", "do": [ { "do": "command", "name": "Game.NewGame" } ] } ]  (optional "enabled": false.)
Events (on): "click", "enter" (pointer over), "leave", "loaded" (once, when the view is shown; also valid at view level in view.triggers, where actions need an explicit target).
Actions (do): { "do":"command","name":"Game.NewGame","args"?:{…} } · { "do":"goToState","group":"Panel","state":"open","target"?:"<nodeId>" } · { "do":"setProp","prop":"opacity","value":0.5,"target"?:"<nodeId>" } (changes a property while the view is alive; it does not edit the saved view) · { "do":"play","animation":"<animId>" } · { "do":"stop","animation":"<animId>" }. "target" defaults to the node that owns the trigger. A node with a click trigger is clickable (a Button gets hover/pressed feedback from its states).
CUSTOM STATE GROUPS AND TRANSITIONS
Besides the pointer states in group "Common", a node can have its own groups: "states":[{ "name":"Panel", "transition":{"ms":250,"ease":"inOut"}, "states":[{"name":"closed","props":{"opacity":0}},{"name":"open","props":{"opacity":1,"translateY":0}}] }]. A group has one active state at a time (none = the base values); { "do":"goToState","group":"Panel","state":"open" } switches it, and the "transition" makes properties change gradually. Only properties marked "per state" can be used. In edit_uipro_view, set(…, state:"Panel.open") writes into that state, and {op:"states"} replaces all groups. ease: linear | in | out | inOut. The "Common" group may also carry "transitions":{"hover":{"ms":120,"ease":"out"},"pressed":{"ms":60},"exit":{"ms":200,"ease":"inOut"}} — one transition per target state (exit = back to normal); it wins over "transition". A transition may add "images": "fade" | "morph": when the background image changes between states it crossfades, or morphs the shapes (only SVGs exported from Vector Studio with transition "morph" — vector_symbol export_button; any other image crossfades). Without "images" the background image switches instantly. Per-state "transitions" can only be set by the agent (the editor panel edits the group transition).

ANIMATIONS (storyboards, in the view: view.animations)
[{ "id":"enter","name":"Enter","duration":800,"loop"?:true,"tracks":[ { "node":"title","prop":"opacity","keys":[{"t":0,"v":0},{"t":800,"v":1,"ease":"out"}] } ], "markers"?:[{"t":400,"name":"Hit"}] }]. Times are ms. A track animates ONE property of ONE node of this view (numbers, thickness lists of 4 numbers, and colours; a "brush" property only with a plain colour). Values between keys are interpolated (numbers and colours; "ease" on a key shapes the segment that starts at it); "ease" is linear | in | out | inOut | bounce | elastic | cubic; instead of "ease" a key can carry "bezier":[x1,y1,x2,y2] (a cubic-bezier, x in 0..1) for a custom curve; "markers" are named instants shown in the editor. Before the first key and after the last key the value is held. Start it with { "do":"play","animation":"enter" } (for example in a "loaded" trigger) and stop it with "stop". Tracks of missing nodes or non-animatable properties are dropped (see "issues"). Set them with write_uipro_view or edit_uipro_view {op:"view", animations:[…]}.

FONTS
Import a .ttf/.otf/.woff/.woff2 file as a project asset (import_asset), then write_uipro_shared {fonts:[{"family":"My Font","asset":"<assetId>"}]}; use the family in the "fontFamily" property.

COMMANDS (the game runs them)
- Game.NewGame — Empieza el juego desde el principio.
- Game.Continue — Carga la última partida guardada (no hace nada si no hay).
- Game.Load — Abre la pantalla de partidas guardadas.
- Game.Options — Abre las opciones del juego.
- Game.Credits — Abre los créditos.
- Game.Resume — Cierra el menú de pausa.
- Game.Save — Abre la pantalla de guardar.
- Game.Quit — Vuelve al menú principal.
- Game.Retry — En el fin de partida: vuelve al último punto de control (si End.CanRetry).
- Game.Exit — Guarda lo pendiente y cierra la ventana, donde quien aloja el juego sabe hacerlo (Game.CanExit); si no, no hace nada.
- Settings.Set — Cambia un ajuste de la persona que juega y lo guarda: key = music, sfx, voice, master, ambience (0 a 1), textSpeed (0,5 a 2,5), instantText (sí/no), haptics (sí/no: la vibración en el móvil), speechDuck (sí/no: bajar la música al hablar, solo si Settings.SpeechDuckAvailable), soundCaptions (sí/no: los subtítulos de sonidos), language (código), graphics (auto, high, medium o low; en pixel art no hace nada) o screenFilter (el id de un filtro de pantalla; "" = ninguno). Desde un deslizador o una casilla, el valor llega solo.
- Settings.ScreenFilterNext — Elige el siguiente filtro de la lista de quien juega (tras el último, «Ninguno»). Para unas flechas ‹ ›.
- Settings.ScreenFilterPrev — Elige el filtro anterior de la lista de quien juega.
- Settings.ScreenFilterToggle — Para una casilla «Filtro CRT sí/no»: pone ese filtro (value = su id; sin value, el de serie) si no está elegido, y «Ninguno» si lo está.
- Game.DeleteSaves — Pregunta y borra todas las partidas guardadas (en la pantalla de opciones).
- Game.Back — Vuelve a la pantalla anterior (desde partidas o créditos).
- Saves.Choose — Guarda o carga en esa ranura, según Saves.Mode.
- Verb.Select — Deja un verbo elegido para el siguiente clic (Mirar, Usar…); volver a elegirlo lo quita.
- Inventory.Select — Lo coge en la mano (o lo usa con lo que ya hay elegido), al momento: también con la moneda «al mantener». Para mirarlo con el botón derecho, Inventory.Press con el botón 2.
- Dialogue.Choose — Elige esa opción de la conversación.
- Game.DefaultAction — Hace lo de siempre con lo que hay bajo el cursor: su verbo por defecto, o caminar hasta ahí si no hay nada.
- Game.Look — Mira lo que hay bajo el cursor.
- Game.Interact — Hace un verbo (Mirar, Usar, Coger…) sobre lo que hay bajo el cursor.
- Game.WalkHere — El protagonista camina hasta el punto del cursor.
- Game.Run — El protagonista corre hasta el punto del cursor.
- Game.Skip — Termina la intro y pasa al menú principal.
- Game.CrossExit — Cruza la salida señalada al instante (como el doble clic del diseño clásico); si tiene un guion de «usar» o el camino está vigilado, corre hasta ella.
- Game.RunStart — El protagonista va al doble de velocidad hasta «Dejar de correr».
- Game.RunStop — Vuelve a la velocidad normal.
- Game.HighlightStart — Marca todo lo que se puede usar en la escena, hasta «Dejar de resaltar».
- Game.HighlightStop — Quita las marcas de lo interactivo.
- Game.Cancel — Suelta el objeto de la mano, anula el verbo elegido y para al protagonista.
- Game.Pause — Abre el menú de pausa.
- Game.Hint — Da la siguiente pista del puzle actual (el primer objetivo activo con pistas pendientes), o la del objetivo que se indique en objective (su id).
- Game.HighlightToggle — Marca todo lo que se puede usar en la escena de forma fija, hasta que se vuelva a lanzar.
- Game.Journal — Abre el diario (si el juego tiene objetivos o documentos).
- View.Open — Abre una vista encima del juego (view = id de la vista; at = cursor, center o target). Lo mismo que la acción «Abrir vista».
- View.Toggle — Si la vista está abierta la cierra y, si no, la abre.
- View.Close — Cierra la vista indicada (sin view, cierra la propia vista que lo lanza).
- Vars.Set — Guarda un valor en una variable del juego (name = su nombre). El valor lo trae el disparador: «Al cambiar» y «Al confirmar» de un campo de texto, deslizador o casilla lo añaden como value; si no, ponlo tú en value. Una variable numérica pierde los ceros del principio: para un código usa una de texto.
- Script.Run — Ejecuta un guion de Lógica por nombre.
- Inventory.Scroll — Mueve el inventario una fila (delta = -1 sube, 1 baja). Las casillas por fila y las que caben las toma de la lista del inventario (Columnas y «Casillas a la vista»): per y visible solo hacen falta si no hay lista que las diga. Con delta 0, solo avisa de cuántas caben.
- Inventory.Ideas — Cambia el inventario entre los objetos y las ideas (show = verdadero, las ideas; falso, los objetos; sin él, la otra pestaña). Lo que se lleva en la mano sigue en ella.
- Inventory.Hover — Enseña el nombre del objeto en la frase de acción (item vacío = quitarlo).
- Verb.Hover — Marca el verbo bajo el ratón (en la moneda) para los textos [verb] y [action] (verb vacío = quitarlo).
- Inventory.Press — Como Inventory.Select, con el botón (button 0 = izquierdo, 2 = derecho).
- Game.OpenCoin — Abre la moneda de verbos de serie sobre lo que hay bajo el cursor.
- Net.Create — Crea una sala con el perfil de quien juega (Net.SetName, Net.SetColor).
- Net.Join — Entra en la sala de ese código (o del enlace pegado). Un campo de texto con «Al confirmar» le pasa lo escrito como value.
- Net.Leave — Sale de la sala (el puesto no se guarda).
- Net.Start — Anfitrión, en la sala de espera: empieza la partida para todos (si Net.CanStart).
- Net.Ready — En la sala de espera: dice que estás listo (value sí/no; sin value, cambia).
- Net.SetName — El nombre del perfil de quien juega (para la próxima sala). Un campo de texto le pasa lo escrito como value.
- Net.SetColor — El color del perfil de quien juega (para la próxima sala).
- Net.PickCharacter — En la sala de espera, con «Uno distinto para cada jugador»: el personaje que llevas.
- Net.Say — Manda un mensaje al chat de la sala. Un campo de texto con «Al confirmar» le pasa lo escrito como value.
- Net.Emote — Enseña un emoji sobre tu personaje a todos.
- Net.Phrase — Dice la frase rápida de ese número (Net.Phrases).
- Net.MarkRead — Pone Net.Unread a cero (por ejemplo, al abrir tu panel del chat).
- Net.Go — Con alguien esperando en una salida: van todos ya, por su puerta.
- Net.Wait — Con alguien esperando en una salida: se cancela para todos (a quien espera, «Cancelar»).
- Net.Vote — Vota esa opción de la votación (se puede cambiar mientras dura).
- Net.PassTurn — Si es tu turno, pasa al siguiente jugador.
- Net.Propose — En la conversación que estás viendo: propone esa respuesta a quien habla.
- Net.PingMode — Activa o quita «señalar»: el siguiente clic marca un punto para todos.
- Net.Kick — Anfitrión: echa de la sala a ese jugador (Item.Id de Net.Players).
- Net.Mute — Deja de ver el chat, las reacciones y las señales de ese jugador (otra vez: lo vuelve a ver).
- Net.Follow — Lleva a tu personaje a la escena y al sitio de ese jugador.
- Net.CopyLink — Copia el enlace para invitar.
- Net.CopyCode — Copia el código de la sala.
- Net.Share — Abre el menú de compartir del móvil con el enlace (donde lo haya).
- Net.Lock — Anfitrión: no deja entrar a nadie nuevo (value sí/no; sin value, cambia).
- Net.PauseAll — Anfitrión: para (o reanuda) el mundo para todos (value sí/no; sin value, cambia).

RESOURCES AND THEMES (project-wide, shared by all views)
A resource is a named value: { "name":"Accent", "type":"color|brush|number|text|thickness|radius|shadow", "value": …, "variants": { "<ThemeName>": … } } (the value has the same shape as the property type: colour string, brush, number, text, thickness, radius, shadow list). Use it in any property whose type matches as { "res": "Accent" } (a "brush" property accepts "color" and "brush" resources). Themes: settings.themes = ["Dark","Light"], settings.theme = the active one; each resource may give a different value per theme in "variants". The editor and the game use the active theme. Read with read_uipro_shared (its "usage" tells in how many places each resource, style and font is used; one that is not listed is unused), write with write_uipro_shared. A reference to a missing resource falls back to the property default.

EARLIER VERSIONS OF A VIEW (undo that survives a reload)
The editor keeps how each view was when the project was opened and, while the view is being changed, one version every ten minutes (20 per view; a deleted view is kept for a month). They live in the author's browser, not in the project files. list_uipro_view_versions {view} lists them (without "view": the deleted views that can be recovered) and restore_uipro_view_version {version} puts one back; the state before restoring is kept as another version and the author can undo it. Use it when the author says a view "was fine before": do not rebuild it from memory.

STYLES (project-wide, with inheritance)
{ "id":"btn-gold", "name":"Gold button", "target":"Button", "basedOn":"<styleId>"?, "props":{…}, "states":[{"name":"Common","states":[{"name":"hover","props":{…}}]}] }. A node uses it with "style":"btn-gold" (only for nodes of the same type as "target"; "basedOn" must be a style of the same type, no cycles). Precedence, strongest first: the node's own state values > the style's state values > the node's own props > the style's props (then its base styles) > the property default. So put the shared look in the style and keep only what is special on the node.

COMPONENTS (reusable pieces with parameters)
A view with "kind":"component" and "params":[{ "name":"Title","type":"text|number|boolean|color|brush|image","default":… }] is a component. Inside it any property (except Grid rows/columns) can be { "param":"Title" } (when no value is given and there is no default, the property falls back to its own default). Place it in another view with an element { "type":"Component", "props": { "component":"<viewId>", "args": { "Title":"Play" }, "margin":[…], "width":… } }: the instance's own layout props (size, margin, alignment, gridRow, canvasLeft…) win over the component root's, "name"/"style"/"triggers" of the instance win too. Components can contain components (max depth 8; a component cannot contain itself). The editor selects the instance as a whole: to change the inside, edit the component view. create_uipro_view {template:"component"} makes an empty one; set its params with edit_uipro_view {op:"view", params:[…]}.

INPUT MAP AND GESTURES (how the player acts on the game; project-wide)
Rows "when [gesture] with [button] over [something] if [formula] → actions". A click row can take count (2..9) = that many clicks in a row (5 = five quick clicks). Conditions can read Views.Open.ID, where ID is the view id (true while that overlay view is open; non-word characters in the id become _) and Views.Any, so "a click outside closes the drawer" is a row: click, if Views.Open.cajon → closeView cajon, and the normal click row gets if !Views.Open.cajon. Behaviour (verb coin, right-click drawer, close on leave…) is ALWAYS written this way; there are no hidden window settings. Read it with read_uipro_input, write it with write_uipro_input {rules, recipes, removeRules, mode}.
- No rows = the game behaves as always. A row that matches a button+device(+over) TAKES that press: the engine does not also run its own click handling for it (so add the "classic" recipe rows if you only want to ADD a gesture such as hold).
- Row: { "id", "name"?, "enabled"?, "on": gesture, "button": "left|right|middle", "device"?: "mouse|touch|pen", "over"?: [kinds], "when"?: formula, "holdMs"?: number, "do": [actions] }.
- Gestures (on): click (Clic), doubleClick (Doble clic), hold (Mantener pulsado), press (Al pulsar), release (Al soltar), dragStart (Empezar a arrastrar), drag (Arrastrando), drop (Soltar tras arrastrar), contextClick (Clic derecho), middleClick (Clic central), wheel (Rueda).
- Over kinds: object (Un objeto), character (Un personaje), exit (Una salida), floor (El suelo), inventory (Un objeto del inventario), control (Un control de una vista), nothing (Nada). Empty = anywhere.
- Formula data in "when": Hover.Name, Hover.Kind (object|character|player|exit|floor|none; player = another player in multiplayer), Hover.Verb, Hover.HasTarget plus everything in DATA PATHS.
- Actions (same as in triggers): command (Game.DefaultAction, Game.Look, Game.Interact {verb}, Game.WalkHere, Game.Run, Game.RunStart/RunStop, Game.HighlightStart/Stop, Game.Pause, Game.Journal, Game.OpenCoin, Game.Cancel, or YOUR OWN name), openView {view, at:"cursor|center|target", offsetX?, offsetY?, closeOnRelease?, args?}, toggleView {view, at?, offsetX?, offsetY?, args?} (open if closed, close if open), closeView {view?}, runScript {script} (the script id, best; a name also works but is ambiguous when several scripts share it).
- Right button with a big inventory: a row with no "over" opens it anywhere; with over:["floor","nothing"] it opens only on empty space and another row over ["object","character","exit"] can run Game.Look. Recipes right-inventory and right-empty-inventory set one or the other.
- Exits: recipe exits (also built into the coin-pixel kit) makes a click on an exit walk there and go through it (Game.Interact use, honouring its lock and script) and a double click go through at once (Game.CrossExit; the old name Game.Exit still works in input rows, but in menus Game.Exit quits the game); installing it takes "exit" out of the other left click/doubleClick rows so a "click over something: walk there" row does not also fire.
- Pixel kits (install_uipro_kit): "pixel", "pip" (verb strip with a pixel font; installing sets ui.font and nine verbs) and "coin-pixel" (compact coin plus big right-click inventory, replaces the hud slot and the input rows). Their font and images are built in, ids starting with kit- (kit-font-pixel, kit-arrow-<theme>-normal|hover|off, kit-coin-hand|skull|parrot and -over): they work wherever an image goes and are not project assets.
- Kit "doblon" (install_uipro_kit {kit:"doblon"}): for high-resolution games. A wooden coin on hold above the cursor (views doblon-moneda: hand = pickup group, eyes = look, mouth = talk; each button swaps its background image on hover; the action sentence below, bound to Text.Verb + ' ' + Text.TheTarget) and a hanging 4x3 inventory with up/down arrows on the right button (doblon-inventario; it closes on leave while an item is held). Unlike the pixel kits its images and its font (IM Fell English, OFL) are FILES: installing copies them into the project's assets (folder Kits/Doblón) and the views point at those assets, so swap them with import_asset + edit_uipro_view. It replaces the input rows (ownInput), removes the hud slot and sets ui.interactionMode verbCoin, ui.coinGroups and ui.hideInventoryBar.
- The row that opens the coin view (openView at:"cursor" on hold) and the game's ui.coinTrigger / ui.coinHoldMs / ui.coinSelect say the same thing; with UI PRO the ROW is what plays. The editor keeps both in line (row holdMs <-> ui.coinHoldMs, closeOnRelease <-> ui.coinSelect "release"); when you write rows with write_uipro_input, set those ui fields to match with patch_project. ui.coinGroups (which verbs one coin icon stands for) is always read from the game's ui.
- A view CLIPS whatever falls outside its frame (design width x height), in the editor and in the game. check_uipro_view / check_uipro_project warn when a Canvas child placed by numbers sticks out (which element, how many px per side): enlarge the view's design size (and shift the content, or add left/top padding to a Border root) instead of leaving text outside.
- Saved kits (.verbui, the gallery's "My kits"): the user saves the whole interface as a kit from the kit gallery; since format version 2 the file also carries the files the views use (images, fonts, sounds: base64 in "assets"), the declared fonts, the interface settings that depend on the kit (ui) and the translatable texts (strings). Installing one copies its files into the project's assets (folder Kits/<kit name>) and repoints every reference. Agent tools: save_uipro_kit {name} saves the open project's interface (with its files) in My kits (optionally only part of it: views [ids or names], files [images, audio, video, fonts], gestures false, settings false; install_saved_uipro_kit takes the same four to install only part), list_saved_uipro_kits lists them, install_saved_uipro_kit {kit} installs one in the open project (it returns filesCopied and, if the kit runs scripts the project lacks, missingScripts: a saved kit does not carry scripts) rename_saved_uipro_kit {kit, name} renames it and delete_saved_uipro_kit {kit} removes it (it cannot be undone: ask the user first). They live in the user's browser, not in the project. Downloading or importing the .verbui FILE is done by the user in the gallery (UI PRO > Kits de interfaz > Mis kits / Importar .verbui).
- The "coin" recipe and kit, in a project, make a compact three-icon coin (use, look, talk: use does take, open or close depending on what was pressed, through ui.coinGroups, which the kit sets) above the pointer. Its icons are built-in images (ids kit-coin-hand, kit-coin-skull, kit-coin-parrot and the same with -over for the hover state, valid wherever an image is): replace them with your own in each button's background and its hover state.
- Verb coin in a view: openView at:"cursor" with offsetY (negative = above the pointer) and args { Objeto: { bind: { path: "Hover.Name" } } }. A view opened at the cursor over something keeps it as its target: Game.Interact uses it, Text.Verb + ' ' + Text.TheTarget says «Look at the chest» (add Verb.Hover on enter/leave of each button), and nothing else in the scene can be pointed at while it is open. ui.coinGroups = [["pickup","use","open","close"]] makes one icon do the verb that fits what was pressed. The rows of "Input and gestures" decide how it opens: the coin options in Settings do not apply to a game with these rows.
- What cancels a view opened by a gesture (coin, inventory), by itself, with no rows needed: Escape closes it first (then drops the item in hand, and only then opens the pause menu); opening any menu closes it; a script that takes control (hourglass) closes it, unless the player started that script within the view (looking or combining inside the inventory); a background script closes nothing. Views opened by a script (ui.openView) stay. A gesture never opens a view while a menu is open or a script has control. Closing a click-opened coin with right click needs its own row (contextClick, when Views.Open.<id>, closeView).
- A view opened with the right button stops the character and cancels what it was going to do. While a player view is open, speech is drawn in front of it. A right press that a child already used (a "press" trigger that ran, like Inventory.Press looking at an item) does not also fire "rightClick" on its parents, so the same button can close the inventory over its background and look over an item.
- Inside a big inventory, show the action with { "bind": { "expr": "Inventory.Held ? Text.Action + ' ' + Inventory.HoverName : Inventory.HoverName" } }: Inventory.HoverName is the item under the pointer (set by Inventory.Hover on enter/leave of each slot; empty over the held item).
- Game.Save, Game.Load and Game.Options work from any in-game view, not only the pause view: they open their screen and going back returns to the game. Holding a key counts as one press, except the skip-line key.
- openView opens an "overlay" view over the game. With closeOnRelease the view closes when the button is released and, if the pointer is over a control of the view, that control is clicked first (this is how a hold-to-open verb coin works: a radial list on Verbs.List whose buttons run Game.Interact with the verb). Args reach the view as Args.<name>; bind an arg to Hover.Name to pass what is under the cursor.
- Recipes (write_uipro_input {recipes:[…]}): classic — Reproduce lo de siempre con filas: el clic izquierdo hace la acción por defecto (o camina) y el derecho mira. | coin — Un clic corto hace la acción por defecto; si mantienes pulsado sobre algo aparece la moneda: suelta sobre un verbo para hacerlo (o fuera para cancelar). La moneda es una vista tuya, editable. | right-inventory — El botón derecho abre y cierra el inventario grande (la vista «inventario») esté donde esté el ratón. | right-empty-inventory — Sobre un sitio vacío, el botón derecho abre y cierra el inventario grande (la vista «inventario»); sobre un objeto, un personaje o una salida hace su acción secundaria (mirar). | run — Doble clic en el suelo corre hasta ahí; mantener pulsado en el suelo corre mientras dure. | touch — Solo para el dedo (el ratón no cambia): un toque hace la acción por defecto, mantener el dedo sobre algo lo mira (en táctil no hay botón derecho) y un doble toque en el suelo corre. | exits — Un clic en una salida va hasta ella y la cruza (con su cerradura y su guion, si los tiene); el doble clic la cruza al instante. Las demás filas de clic dejan de valer para las salidas. | highlight — Mientras mantienes el botón central se marcan todas las zonas con las que se puede interactuar..
- Logic integration (plugin UI PRO adds these blocks): event.uiCommand "When the interface launches the command X" runs a Logic script when a button/row runs a command with a name that is not a built-in Game.* one; blocks ui.openView, ui.closeView, ui.toggleView, ui.command do the same from Logic; the condition ui.isViewOpen asks whether an overlay view is open and event.viewChange (opened true/false) runs a script when one opens or closes. To change what a control shows from Logic, bind it to a variable and set the variable. The command's arguments reach the script as parameters: [param:value] in texts (e.g. the text a TextBox sent).
- TEXT ENTRY AND PUZZLES: a TextBox sends its text as "value" on "change" (every key) and "submit" (Enter). Save it with {"do":"command","name":"Vars.Set","args":{"name":"my_text_variable"}} (use a TEXT variable: a number variable loses leading zeros and non-numbers become 0; check_uipro_view warns), then compare with a trigger "when" ("Vars.my_text_variable == Vars.solution") or a Logic script on the command. For puzzles (code lock, sequence, pipes, jigsaw…) use the Minigames plugin (minigame_from_template) instead of building them as views.

SLOTS (which view the game shows where; set_uipro_slot {slot, view}; view null clears it and the built-in screen returns)
- intro (screen) — Lo primero que se ve al abrir el juego, antes del menú principal: textos, logos… Pasa sola al menú cuando acaba su duración (Fondo de la pantalla → Duración) o con un clic o una tecla. Data: Game.Title, Game.Subtitle, Game.Author. Commands: Game.Skip.
- mainMenu (screen) — La pantalla de título. Data: Game.Title, Game.Subtitle, Game.Author, Game.CanContinue, Game.HasSaves, Game.CanExit. Commands: Game.NewGame, Game.Continue, Game.Load, Game.Options, Game.Credits, Game.Exit.
- pause (screen) — El menú de pausa. Data: Game.Title, Game.CanSave, Game.HasJournal, Game.CanExit. Commands: Game.Resume, Game.Save, Game.Load, Game.Options, Game.Journal, Game.Credits, Game.Quit, Game.Exit.
- saves (screen) — Guardar y cargar partida (una sola vista para las dos cosas: mira Saves.Mode). Data: Saves.Mode, Saves.List. Commands: Saves.Choose, Game.Back.
- options (screen) — Volúmenes, velocidad del texto, idioma y calidad gráfica: usa deslizadores, casillas o botones con Settings.Set. Data: Settings.MusicVolume, Settings.SfxVolume, Settings.VoiceVolume, Settings.TextSpeed, Settings.InstantText, Settings.SpeechDuck, Settings.SpeechDuckAvailable, Settings.SoundCaptions, Settings.SoundCaptionsAvailable, Settings.MasterVolume, Settings.MasterAvailable, Settings.AmbienceVolume, Settings.AmbienceAvailable, Settings.Language, Settings.Languages, Settings.Graphics, Settings.GraphicsLevels, Settings.GraphicsScale, Settings.ScreenFiltersAvailable, Settings.ScreenFilters, Settings.ScreenFilter, Settings.ScreenFilterName, Settings.ScreenFilterActive, Settings.ScreenFilterByGame, Settings.ScreenFilterLight, Game.HasSaves, Game.InGame. Commands: Settings.Set, Settings.ScreenFilterNext, Settings.ScreenFilterPrev, Settings.ScreenFilterToggle, Game.DeleteSaves, Game.Back.
- credits (screen) — La pantalla de créditos. Data: Game.Title, Game.Author, Credits.Text. Commands: Game.Back.
- loading (screen) — Sale al montar una escena (cambiar de escena, empezar o cargar una partida) si tarda más de medio segundo: fondos muy grandes, vídeos o escenas 3D. Enlaza una barra de progreso a Loading.Progress; sin Loading.Known, no se sabe cuánto falta (pon algo que gire). No se puede saltar. Data: Loading.Progress, Loading.Percent, Loading.Known, Game.Title. Commands: .
- gameOver (screen) — La pantalla del final de la partida: la del bloque «Terminar la partida» y la del vigilante que te pilla. End.Title es «Fin», End.Message el mensaje y End.CanRetry dice si hay punto de control para «Reintentar desde justo antes» (enlaza a él la visibilidad del botón). Comandos: Game.Retry vuelve al punto de control y Game.Quit sale al menú. Data: End.Title, End.Message, End.CanRetry. Commands: Game.Retry, Game.Quit.
- objective (layer) — Sale unos segundos sobre el juego al activarse, completarse o fallar un objetivo, en lugar de la tarjeta de serie del lateral. Objective.Title es el título, Objective.Label la etiqueta («Nuevo objetivo»…) y Objective.Status, active, done o failed (para cambiar el color). Ponle una animación de entrada con un storyboard en «loaded». El sonido se elige en Ajustes → Sonido. Data: Objective.Title, Objective.Label, Objective.Status. Commands: .
- narration (layer) — La voz en off del bloque «Narrador» mientras dura la frase, en lugar del recuadro de serie de arriba. Narration.Text es la frase. Data: Narration.Text. Commands: .
- hud (layer) — Verbos, inventario, frase de acción, cuentas atrás… sobre el juego. Sustituye al panel de serie y la escena ocupa toda la pantalla. Data: Verbs.List, Verb.Selected, Verb.Default, Inventory.Items, Inventory.Held, Sentence.Text, Countdowns.List, Hover.Name. Commands: Verb.Select, Inventory.Select, Game.Pause, Game.Cancel.
- dialogue (layer) — Las opciones de respuesta de una conversación. Data: Dialogue.Active, Dialogue.Options. Commands: Dialogue.Choose.
- netEntry (screen) — Multijugador: la pantalla de entrar, con tu nombre y tu color, «Crear sala» y «Unirme» con un código. Game.Back vuelve al menú de donde se vino. Data: Net.Status, Net.StatusText, Net.Error, Net.Me.Name, Net.Me.Color, Net.Colors. Commands: Net.Create, Net.Join, Net.SetName, Net.SetColor, Game.Back.
- netRoom (screen) — Multijugador: la sala antes de empezar: el código y el enlace para invitar, los jugadores, «Estoy listo», el personaje de cada uno, el chat y «Empezar» (anfitrión). Game.Back sale de la sala. Data: Net.Status, Net.StatusText, Net.Error, Net.IsHost, Net.Room.Code, Net.Room.Link, Net.Room.QR, Net.Room.Locked, Net.Count, Net.Min, Net.Max, Net.CanStart, Net.Me.Name, Net.Me.Color, Net.Me.Character, Net.Me.Ready, Net.Players, Net.Characters, Net.Colors, Net.Chat, Net.Unread. Commands: Net.Ready, Net.PickCharacter, Net.Start, Net.Say, Net.Kick, Net.Lock, Net.CopyLink, Net.CopyCode, Net.Share, Net.Leave, Game.Back.
- netHud (layer) — Multijugador: sobre el juego mientras se juega en una sala, en lugar de la barra de serie: los jugadores, el chat, reacciones, señalar, el código y salir de la sala. Si la interfaz de juego (HUD) ya usa datos Net.*, la barra de serie también se quita. Sin barra de serie, «la sala» se abre en la vista de la Sala de espera. Data: Net.Status, Net.StatusText, Net.Error, Net.IsHost, Net.Room.Code, Net.Room.Link, Net.Room.QR, Net.Room.Locked, Net.Count, Net.Min, Net.Max, Net.CanStart, Net.Me.Name, Net.Me.Color, Net.Me.Character, Net.Me.Ready, Net.Players, Net.Characters, Net.Colors, Net.Chat, Net.Unread, Net.Emotes, Net.Phrases. Commands: Net.Say, Net.Emote, Net.Phrase, Net.MarkRead, Net.PingMode, Net.Mute, Net.Follow, Net.Kick, Net.Lock, Net.PauseAll, Net.CopyLink, Net.Leave.
- SHOW ON (per element, no formulas): prop "showOn": "touch" (only played with a finger), "noTouch" (mouse, keyboard or gamepad), "gamepad", "compact" (small screen) or "wide" (not small); "all" or absent = every device. Outside its device the element is not shown and takes no space (it adds to "visibility"); it repaints when the device changes. Use it for small differences (hide a fullscreen or keyboard-help button with a finger); a whole different layout is a view per device (below).
- VIEWS PER DEVICE (no Mobile plugin needed: one game for computers and phones, not two versions): set_uipro_slot {slot, view, when} with when "touch" (played with a finger: phone, tablet), "compact" (small screen, Screen.Class compact, under 700 px), "portrait" (phone upright) or "gamepad" (played with a gamepad) uses that view INSTEAD of the slot's usual one on that device; view null with when removes that variant. The first variant that matches wins, in the order touch, compact, portrait, gamepad; if none matches, the usual view. hud and dialogue choose when the game STARTS (switching the in-game interface mid-game would move the screen) and need their usual view first; "gamepad" is not allowed for them (at start nobody knows a gamepad will be used). The other screens (intro, mainMenu, pause, saves, options, credits) choose each time they open, with the device of that moment. list_uipro_views shows slotVariants and each view's usedAsVariant; deleting a view removes it from the variants; a kit that replaces a slot also replaces its variants. Small adjustments inside one view are still formulas (Screen.IsTouch, Screen.Class…); use a variant when the layout is really different (big touch buttons vs the classic verb bar). The editor: the view's properties, "Instead of".
- SCREEN MAP (how the game moves between slots; the editor draws it on the plugin page and in the kit gallery): intro → mainMenu, mainMenu → hud, hud → loading, mainMenu → credits, mainMenu → options, mainMenu → saves, hud → dialogue (drawn on top), hud → pause, pause → saves, pause → options, hud → gameOver, hud → narration, hud → objective; multiplayer row: mainMenu → netEntry, netEntry → netRoom, netRoom → netHud, netEntry → netHud, hud → netHud (drawn on top). list_uipro_catalog {topic:"slots"} gives each slot's leadsTo; read_uipro_shared gives slotFlow and the assigned slots.
- GAME AREA: by default the "hud" overlays the scene. set_uipro_game_area {bottom: 150} (project px) reserves a strip OUTSIDE the scene (like the classic verb bar): the scene shows above it and the hud view covers the whole screen. Views that cover the screen are designed at the PROJECT resolution (1 view px = 1 project px): width = project width, height = project scene height + reserved strips (the tool returns designSize and resizes the slot views, scaling their content). With inside:true the strips are part of the project height instead of added to it (no black bands); when the design height changes, children of a root Canvas placed in its bottom half (canvasTop) move with the bottom edge. install_uipro_kit does all of this for you (classic-style kits reserve their bar).
- LOOSE OVERLAYS (an "overlay" view that is in no slot: the verb coin, an inventory drawer, a chapter card): openView/toggleView show them at their design size in PROJECT pixels, centered on the chosen point (cursor, center or target) plus offsetX/offsetY, and clamped to the screen. So design.width/height is the space they take up in the game: keep it within the project resolution. check_uipro_view / check_uipro_project warn when a loose overlay is bigger than the game screen (it would stick to an edge instead of opening at the cursor) and note (info) when no input row, trigger or Logic script opens it.
- DESIGN RESOLUTION: a view is designed at the PROJECT's resolution (a 640x360 game → views 640x360; 1 view px = 1 project px). create_uipro_view and set_uipro_game_area do it for you (content is scaled: sizes, margins, fonts, positions, fixed rows/columns). The kits and the example in this guide are written at 1920 and scaled when installed or fitted ("Ajustar" in the editor); if you write a whole view with write_uipro_view, use designSize from set_uipro_game_area or the project resolution. set_uipro_game_area {inside:true} makes the strips part of the project height (scene = project height minus strips, no black bands); without it the strips are added to the screen. With a HUD view assigned, the "where the verb panel goes" project setting no longer matters: the game area rules.
- GAME PARTS: add_uipro_game_part {view, part, parent?, display?} adds a ready-made, already bound part: verbs (Verbs.List + a button template that runs Verb.Select; grid, centred buttons), inventory (Inventory.Items with the kit slot: icon + name, runs Inventory.Select on click and Inventory.Press with button 2 on rightClick, which looks at the item or drops the one in hand), inventory-arrows-v / -h (two arrows that run Inventory.Scroll), sentence (Sentence.Text) and pause (Game.Pause). They are placed in the root (bottom-aligned) or the given parent, never inside a list template or a stacking panel (StackPanel/WrapPanel: they go to the Grid/Canvas that contains it). set_uipro_inventory_display {view, list?, display: both|icon|text} changes what each inventory slot shows (icon and name / icon only / name only; objects without a picture always show their name).
- BUTTON STYLE AND ARROW PICTURES: set_uipro_button_style {view, list?, transparent?, normal?, selected?} sets the look of the buttons of a verb/inventory list from the game parts (transparent = no box or border, so a background picture behind shows; the chosen colour is for the chosen verb or object in hand) without writing the Item.Selected ? … : … formula. list is the list id or "inventory" / "verbs"; without it the FIRST list is changed (in the kits, the verbs): the result says which one in changed and names the others in otherLists. Every uipro tool that takes view also accepts a slot name ("hud", "mainMenu", "dialogue"…) for the view in that slot. set_uipro_arrow_images {view, arrow, lit?, dark?} puts your pictures on an arrow (lit = can move, dark = at the end); with none it returns to the ▲▼ text. Sizes of generated parts are whole pixels when the view is 640 px wide or less (pixel art).
- DEFAULT VERB HIGHLIGHT (as in classic adventures): Verb.Default is the id of the verb a LEFT click would do now on what is pointed at; it is empty when nothing is pointed at, when the click walks (defaultVerb walk), opens the verb coin, uses a chosen verb or an object in hand, in cycle mode, with touch, while the coin is open, and when that verb is not in the bar. Any element has the emphasis props (category «Destacar»): emphasis (boolean, bindable), emphasisStyle color|rainbow|pulse|glow, emphasisColor, emphasisSpeed (ms per cycle, 600-5000). In a verb list bind the template button's emphasis to the formula Item.Id == Verb.Default; on a loose verb button, Verb.Default == 'look'. Do NOT add a field to Verbs.List for it (the list would be rebuilt on every hover). set_uipro_button_style {view, list?, defaultVerbEmphasis:{style, color?, speed?}} does it for you on a verb list or a Verb.Select button (style none removes it); kits and the classic import come with it in colour (install_uipro_kit / import_classic_ui_design defaultVerbEmphasis:false to skip). With reduced motion the effect stays still; it never touches transform or filter.
- HTML BLOCK (type "HtmlBlock", props "html" up to 100,000 chars and "css" up to 80,000; not bindable): HTML and CSS written outside, shut in its box (contain, overflow hidden; position:fixed and z-index cannot leave it; the CSS is scoped to the block; no @font-face; @keyframes get a prefix; vw becomes cqw; @media by width measures the window, use @container). NO JavaScript, forms, video or audio: scripts, on* attributes, iframes, external images and URLs are removed and listed as warnings. <a> stays without href. Ids get a prefix (and their #id references too). Images: <img src="asset:ID"> or data-src. Fonts: the UI PRO Google fonts named in font-family load by themselves; others go to Resources. Connect it with data-* attributes on normal HTML:
  data-bind="Path" / data-expr="formula" (text of the element) · {{Path}} inside text, class, title and style (Unicode paths like Vars.Puntuación work) · data-src="Item.Icon" (image) · data-text-key="key" / data-title-key (project texts, the written text is the fallback) · data-list="Path" (the FIRST child is the template, repeated with Item.*, Index, Count; nested lists see the closest Item) · data-page="10" data-columns="5" data-fill-empty (paged inventory: follows Inventory.Offset, tells the engine per/visible so the arrows stop, data-inv-slot on each copy, empty copies get class is-empty) · data-command="Name" data-args='{"verb":"=Item.Id"}' (click, Enter or gamepad A; a value starting with = is a formula) · data-on-enter / data-on-leave / data-on-press (adds button) / data-on-rightclick with data-args-enter… (Verb.Hover, Inventory.Hover, Inventory.Press, Game.DefaultAction…) · data-enabled="formula" (class is-disabled, no command) · data-visible="formula" (hidden) · data-hit (this area swallows the click, like a solid background; without it a click on a gap passes to the scene) · data-class-name="formula". Built-in classes on list copies: is-selected (Item.Selected or Item.Id == Verb.Selected in Verbs.List), is-held (Inventory.Held), is-default (Verb.Default), is-empty; is-disabled and is-focused (gamepad/keyboard focus; elements with data-command join the view's focus order). <ui-each of> and <ui-if test|not> (UI Design syntax) are aliases. data-upr*, data-inv-* and data-uipro* are reserved. check_uipro_view lists the block's warnings, the data it reads that do not exist and unknown commands; describe_uipro_view summarises it. A WHOLE PAGE (<!doctype>, <html>, <head>, <style>, Tailwind classes, Google fonts) can go straight into props.html: write_uipro_view and edit_uipro_view import it like the editor (body only, <style> and Tailwind classes to css) and return what they did in "imported". add_uipro_game_part part "scumm-html" adds the classic SCUMM bar already wired, full width and 26% of the view height (copy its html/css as an example). SCALE: write sizes so the block looks the same at any resolution: in cqh/cqw (percent of the block height/width; with a fixed block height) like the SCUMM template, or with var(--upr-k) (view height ÷ 360: 1 at 640×360, 2 at 1280×720, 3 at 1920×1080), e.g. font-size: calc(8px * var(--upr-k)). Formulas have Screen.Scale (project screen height ÷ 360): the same number when the view measures what the project screen does. cqh/cqb/cqmin/cqmax need a fixed block height (check_uipro_view warns).
- TEXT EFFECTS: a TextBlock's "textEffect" prop takes the same TextEffect as the subtitles ({preset, unit?, speed?, charset?, css?, loop?, sound?}: typewriter, word, fade, decrypt with a charset, wave, shake, glitch, or custom @keyframes; try it with preview_text_effect). It only plays in the game (and when testing the view in the editor), only while the Text is visible (a hidden one starts when it is shown), at the player's reading speed, and stays still with "Instant text" (Settings.InstantText; Settings.Set {key:'instantText', value}) or reduced motion. It plays again ONLY when the final text changes (a bound value, the language), not on every refresh nor when a list rebuilds its copies with the same text (by position: reordered items whose slot text changes play again). The box is laid out with the whole text, so textTrimming ellipsis and maxLines cut it as without the effect (with the letter-by-letter CSS presets fade, wave, shake, glitch and custom, the ellipsis hides whole words). With "emphasis" set on the element (fixed or bound, even when the formula is false), the effect is not used: check_uipro_view warns about it. Screens (main menu, pause, options, saves, credits), windows that freeze the game or show only in the pause, and views opened while paused keep revealing while the game is paused; the HUD, dialogue and views opened during play pause with the game. Ticking Instant text completes the texts that are appearing. A click does not complete it (it is not a dialogue line). A non-valid effect is dropped by write_uipro_view and listed in issues with the reason (the rest of the view is written); unknown keys are dropped.
- INVENTORY SCROLLING: an inventory ItemsControl (items bound to Inventory.Items) with "pageSize" > 0 (visible slots, e.g. 10 for a 5x2 grid) and "columns" shows only that many items and FOLLOWS the arrows by itself (no need to bind "offset"); it also tells the engine its columns and pageSize, so the arrows (Inventory.Scroll {delta:-1|1} with no other args) move one row and know when to stop. Data: Inventory.CanScrollUp / Inventory.CanScrollDown (bind the arrow Button's isEnabled to them: the default state "disabled" is dimmed to 35% opacity; to draw your own pictures, put the lit picture in the normal state and the dark one in the "disabled" state with opacity 1). With arrows and no pageSize the inventory shows everything and the arrows do nothing: check_uipro_view warns about it. The kits (install_uipro_kit) already wrap their inventory in an "inv-box" StackPanel with pageSize set and two arrows. In the classic verb bar (kits classic, gamepad, retro, paper: like Monkey Island 2 / Indiana Jones / Thimbleweed) the verbs are a grid whose columns follow the formula len(Verbs.List) > 4 ? ceil(len(Verbs.List) / 3) : 2 (so it adapts to the verbs active in Settings), the arrows inv-up / inv-down are a column BEFORE the inventory and ALWAYS visible (dimmed when everything fits), and the inventory is 2 rows of 5 near-square slots with fillEmpty (empty slots are drawn, cannot be focused); a node may carry "restore" (editor-only: the look an arrow had before set_uipro_arrow_images, used to go back to the text; do not write it by hand); the inventory names use maxLines 2 (TextBlock: max lines, cut with … with textTrimming ellipsis). In the other kits the arrows are inv-prev / inv-next and only visible when there are more objects than slots; a view from an older kit has no pageSize: add the inventory-arrows part and set pageSize.
- IDEAS (deduction): items marked idea are shown in their own inventory tab. Inventory.Items (and Count, IsEmpty, scrolling) follow the tab; Inventory.HasIdeas is true while the protagonist carries any idea and Inventory.Ideas while the ideas tab is shown. A Button with {"on":"click","do":[{"do":"command","name":"Inventory.Ideas"}]} switches tabs (args {show:true|false} picks one); bind its visibility to Inventory.HasIdeas. The kits have no such button: add it when the project has ideas.
- VERB ORDER: the verbs of the game and their order are project settings (ui.verbs, reorderable in Settings → Verbs); Verbs.List, the coin, the verb bar and the classic design all read the same order.
- Item icons: Inventory.Items has Item.Icon (an image asset id): put an Image bound to Item.Icon inside the list template (the kits do). The hold-to-open coin made by the "coin" input recipe has ONE element per active verb (a Grid "Verbo: X" at canvasLeft/canvasTop with a Button and an empty Image "Imagen del verbo"): set that Image's source to give a verb its own picture and move the Grid to place it exactly.
- Basic controls: ProgressBar (value/minimum/maximum/fill, bind value to data), Slider (value/minimum/maximum/step; on "change" run e.g. {"do":"command","name":"Settings.Set","args":{"key":"music"}} — the slider adds "value"), CheckBox (isChecked, appearance "check" or "switch"), TextBox (text, placeholder, maxLength). Settings.* data (MusicVolume, SfxVolume, VoiceVolume 0..1, TextSpeed 0.5..2.5, Language, Languages list, Graphics = the player's graphics quality auto|high|medium|low (game = "as shipped", the project default), GraphicsLevels list {Id, Name, Selected}, empty in pixel art so a row can hide with its Count; GraphicsScale = with Automatic, how much it draws now over High, 1 or 0.75…) and the command Settings.Set {key: music|sfx|voice|textSpeed|speechDuck|soundCaptions|language|graphics|screenFilter, value} (graphics: auto, high, medium or low; "game" and anything else is ignored). Sound: Settings.MasterVolume and Settings.AmbienceVolume (0..1; Settings.Set {key: "master" | "ambience"}), Settings.MasterAvailable and Settings.AmbienceAvailable (hide their rows with them), Settings.SpeechDuck (does the music go down while someone speaks), Settings.SpeechDuckAvailable (only true when the author lets the player choose it in Settings → Sound; hide the CheckBox with it), Settings.SoundCaptions (are sound captions on: the player reads "[A phone rings]" when a sound that has a caption plays; Settings.Set {key: "soundCaptions"}) and Settings.SoundCaptionsAvailable (true when some sound has a caption or the author always shows the option; hide the CheckBox with it; new kits already bring it), Settings.Set {key: "speechDuck", value: true|false}. Screen filters plugin: Settings.ScreenFiltersAvailable, Settings.ScreenFilters (list Id/Name/Selected, "None" first with empty Id), Settings.ScreenFilter (player's choice, "" = none), Settings.ScreenFilterName, Settings.ScreenFilterActive (shown now, maybe set by the game), Settings.ScreenFilterByGame, Settings.ScreenFilterLight; commands Settings.Set {key: "screenFilter", value}, Settings.ScreenFilterNext, Settings.ScreenFilterPrev, Settings.ScreenFilterToggle {value}; anything bound to Settings.ScreenFilter* hides by itself with the plugin off (bind loose labels to Settings.ScreenFiltersAvailable); or add_uipro_game_part {part: "screen-filter"}. Vars.Set {name, value} writes a game variable (by name). MULTIPLAYER plugin (Net.*): Net.Available, Net.Status (idle|connecting|room|playing|reconnecting|failed), Net.StatusText, Net.Error, Net.InRoom, Net.IsHost, Net.Room.Code/Link/QR (image)/Locked, Net.Count/Min/Max, Net.CanStart, Net.Me.Name/Color/Character/Ready, lists Net.Players {Id, Name, Color, Portrait, Character, CharacterName, Scene, SceneName, Here, Host, Me, Ready, Away, InMenu, Muted, Signal 0-3, Talking}, Net.Characters {Id, Name, Portrait, Taken, Mine}, Net.Colors {Color, Taken, Mine}, Net.Chat {Name, Color, Text, System, Me}, Net.Emotes {Emoji}, Net.Phrases {Index, Text}, Net.Unread (others' messages since you last wrote or ran Net.MarkRead); Talking is always false for now (voice chat comes later); commands Net.Create, Net.Join {code} (a TextBox "on confirm" passes value), Net.Leave, Net.Start, Net.Ready {value}, Net.SetName {value}, Net.SetColor {color}, Net.PickCharacter {character}, Net.Say {value}, Net.Emote {emoji}, Net.Phrase {index}, Net.MarkRead (Net.Unread to 0), Net.PingMode, Net.Kick/Mute/Follow {player}, Net.CopyLink, Net.CopyCode, Net.Share, Net.Lock {value}, Net.PauseAll {value} (host). Anything bound to Net.* (but Net.Available) or running a Net.* command hides by itself with the plugin off (bind loose labels to Net.Available); check_uipro_view warns.
- A "screen" view can carry "screen": {"background": {"kind": "image"|"video"|"scene"|"game", "asset": "<asset id>", "scene": "<scene id>", "dim": 0..1}, "music": "<audio asset id>"|"@menu"|null, "fadeIn": <ms>, "fadeOut": <ms>}. It is drawn BEHIND the view (keep the view root transparent or semi-transparent). "scene" (a live scene without the player) only works on the main menu; "game" lets the running game show (pause). music applies to the main menu and to the pause view (null = silence; "@menu" = the menu music from the game settings, linked; absent = the menu music on the main menu, the scene music keeps playing on pause). fadeIn / fadeOut (ms, optional, absent = none) fade the screen in when it appears and out when it is left (crossing with the next screen).
- Built-in interface settings, no plugin needed (patch_project): ui.hoverLook {color, width, height, bottom} styles the name under the cursor (bottom = a fixed centered box, in game pixels), ui.wait {preset:"hourglass"} sets the wait indicator, ui.hideInventoryBar true hides the built-in inventory strip. Use them to keep the built-in ☰ button: a "hud" view hides it.
- Full screens (intro, mainMenu, pause, saves, options, credits, loading) replace the built-in screen; they are "screen" views. "hud" and "dialogue" are layers over the running game: use kind "overlay"; what has no background, button or click trigger lets clicks through to the game (so a transparent Grid root is fine; give a panel a background to make it block clicks). With a "hud" the built-in verb panel and inventory strip are gone: the scene fills the whole screen and verbs/inventory/sentence are YOURS (bind Verbs.List, Inventory.Items, Sentence.Text; run Verb.Select / Inventory.Select). Inside list templates, Item.Selected (Verbs.List) and Item.Held (Inventory.Items) tell what is chosen: bind colors with formulas, e.g. {"bind":{"expr":"Item.Selected ? '#f5c542' : '#1b2036'"}}.
- Pause screen commands (Game.Resume, Game.Save, Game.Load, Game.Options, Game.Journal, Game.Quit) and the saves screen (Saves.List with Saves.Choose {slot}, Saves.Mode "save" | "load", Game.Back) are bound by the same names in any view.
- Not replaceable yet: options screen (the built-in one opens with Game.Options), toasts, cursor, loading, journal and document screens.

INPUT DEVICES, FOCUS AND ACCESSIBILITY
- Keyboard and gamepad drive the interface through directional focus: in a full screen (menu, pause, saves, credits) or in dialogue options the arrows / D-pad / left stick move the focus to the nearest focusable element in that direction, Enter / Space / A press it, Escape / B go back, Tab / Shift+Tab cycle, Start opens the pause. In game, Tab or the D-pad enters the HUD (Esc / B leaves it); the right stick moves a virtual cursor over the game (A = left click, X = right click, Y = Game.Cancel) so the whole game can be played with a gamepad. Focusable = every Button and every element with a click trigger that is enabled and visible.
- Give focusable elements a visual state "focused" (like "hover") to style the focus; if you do not define one, a white outline is drawn.
- Data to adapt the interface: Input.Device (mouse | touch | keyboard | gamepad — show the right button icons), Screen.Class (compact < 700 px | regular < 1200 | wide), Screen.IsTouch, Screen.Portrait, Screen.ReducedMotion (transitions are removed automatically), Screen.CanVibrate (an Android phone; false on computers and iPhones) with Settings.Haptics (the player vibration switch: Settings.Set {key: "haptics"}; show that row only when Screen.CanVibrate; with a finger, tapping a Button, CheckBox, Slider or any node with a click trigger vibrates by itself as the game "ui" haptic event, nothing to add), Screen.ViewWidth (what is seen of the game in project px: more than the resolution with the Mobile plugin variable width on a landscape phone; UI PRO overlays stay in the safe zone, the game resolution, centred) and Screen.SafeArea.Left/Right/Top/Bottom (project px the phone notch or rounded corners cover inside your view: pad edge-anchored buttons with them). Use them in "visibility" or any bindable property with formulas, e.g. {"bind":{"expr":"Screen.Class == 'compact' ? 'collapsed' : 'visible'"}}.
- Touch: the input map rows have a "device" ("mouse" | "touch"); the recipe "touch" adds tap = default action, hold = look, double tap on the floor = run, for fingers only. A row for one device does not touch the other.
- Accessibility: every Button gets role=button, a tab stop and an aria-label (the property "ariaLabel", or its text); elements with a click trigger become buttons for screen readers too. check_uipro_view warns about low contrast (< 3:1) between literal text and background colors, buttons smaller than 44 px and buttons without text or ariaLabel.

TESTING AND DEBUGGING
- check_uipro_view {view} reviews one view; check_uipro_project reviews everything (all views, the input map and the slots). profile_uipro_view {view} gives the element/binding counts and measured mount and refresh times with warnings. Run them after every substantial change.
- In the editor the place «Test» (Probar) has the real game docked: it reloads in hot (the game keeps its place) every time a view, resource, style or input row changes, simulates devices (desktop, laptop, ultrawide, tablet, phones in both orientations, gamepad on a TV: they change Screen.Class / Screen.Portrait / Screen.IsTouch / Input.Device) and jumps to any screen ("Ir a…": main menu, in-game interface, dialogue options, pause, saves, credits). Commands run from views are logged in its «Output and events» panel, with a warning when a non-built-in command has no Logic script that handles it.
- THE EDITOR, for when you guide the author: three places in the top bar. «Whole game» (Todo el juego) holds the game map, Interactivity (game gestures and the open view's triggers), Styles and Data, plus the kit gallery. «View» (Vista) is where a view is built: Views and Layers on the left (Layers marks ⚡ elements with triggers and ◷ elements in an animation), the canvas in the middle, the panel of the selection on the right with three tabs (Properties, States, Triggers: an element's triggers are edited right there) and a bottom panel with Animations (list, parameters, what plays each one, timeline), Warnings & log and Performance. «Test» (Probar) plays the real game. navigate {section:"uipro"} opens the editor; add page (view, map, interactivity, styles, data, test) to show one place, and id (a view's name or id) to open that view.

KITS (install_uipro_kit {kit}; list_uipro_catalog {topic:"kits"}) — a whole interface already built (hud, dialogue, pause, saves, credits views + slots + input recipes). They are normal views: install, then edit_uipro_view to adapt colors, sizes and layout. Options (the same as the editor's kit gallery): inventory_display "icon" (default: each slot shows only the item's picture; items without one show their name), "both" or "text"; inside true (default: a kit's reserved strip counts inside the project's screen, so a 16:9 game keeps no black bars) or false (the screen grows by the strip). Like the editor's gallery, installing keeps a "(Anterior)" copy of whatever the kit replaces (returned as backups) and, unless translatableTexts is false, the texts the player sees ("Nueva partida", "Opciones", "Guardar partida", "vacía"…) become project texts: each node gets a textKey (the Saves title binds its textKey with a formula) in the project's languages, returned as textKeys. To change those texts use write_texts on the key, not the node's text (that is only the fallback); describe_uipro_view shows "→ player sees …" for every node with a textKey. Keys are reused (the kit's «Volver» buttons share one): writing that key changes all of them; to change only one, give that node a new key with its own text. The node's own text is the fallback, written in the project's main language. If the main language is neither Spanish nor English, the kit texts come in English as a draft: translate them with write_texts. names: "es" | "en" picks the language of the views' and elements' names.
- classic — Franja inferior con la frase de acción, los verbos de tu juego y el inventario en cuadrícula. Clic izquierdo = acción por defecto, derecho = mirar.
- coin — Pantalla limpia: frase de acción e inventario en una fila abajo. Mantén pulsado sobre algo y aparece la moneda de verbos.
- minimal — Casi nada en pantalla: el nombre de lo señalado arriba y el inventario como una fila discreta a un lado. Doble clic en el suelo para correr.
- touch — Para el dedo: controles grandes, frase de acción e inventario en una fila abajo. Un toque hace la acción, mantener el dedo mira y doble toque en el suelo corre. Con ratón el juego no cambia: sus reglas solo afectan al dedo.
- gamepad — Verbos clásicos con controles más grandes y la ayuda de botones del mando, que solo se ve cuando se juega con mando (cruceta = moverse por la interfaz, A aceptar, B atrás, Start pausa, palanca derecha = cursor).
- retro — Verbos clásicos en fósforo verde sobre negro, con bordes marcados: el aspecto de los ordenadores de los ochenta.
- paper — Verbos clásicos con una paleta clara de papel y tinta, para aventuras luminosas o infantiles.
- sierra — Una barra arriba con los verbos como iconos, la frase de acción en medio y el inventario a un lado, como en las aventuras de Sierra. La barra queda fuera de la escena.
- narrative — Para aventuras narrativas: sin verbos ni inventario en pantalla, solo la tarjeta de opciones de diálogo. El clic hace la acción por defecto.
- pixel — Franja de verbos con letra de píxeles: el verbo que haría un clic se ilumina, y el inventario de 6×2 casillas se recorre con flechas. Trae su letra y sus flechas.
- pip — La interfaz de la demo Pip Barnacle: panel negro, verbos en violeta, frase de acción en cian e inventario con flechas.
- coin-pixel — Mantén pulsado sobre algo para sacar una moneda pequeña de tres iconos, que se animan al pasar por encima, y suelta sobre uno. El botón derecho abre un inventario grande con la frase de acción.
- doblon — Mantén pulsado sobre algo y sale una moneda de madera con una mano, unos ojos y una boca: la mano se cierra, los ojos se abren y la boca se abre al pasar por encima, y debajo se lee lo que vas a hacer. El botón derecho abre un inventario colgante de 4 × 3 casillas con flechas; con un objeto cogido, sacarlo del marco lo cierra para usarlo en la escena. Sus dibujos y su letra (IM Fell English) se copian a los recursos de tu proyecto.
- multiplayer — Las pantallas de la sala del plugin Multijugador hechas con UI PRO: «Jugar con amigos» (nombre, color, crear sala y unirse con un código), la sala de espera (código, enlace y QR, jugadores, personajes, chat, «Estoy listo» y «Empezar») y la capa sobre el juego (jugadores, chat, reacciones y señalar). No cambia la interfaz de juego ni los menús. Necesita el plugin Multijugador.

TEMPLATES (create_uipro_view {template}; full-screen ones are created at the project's resolution)
- mainMenu — Título, subtítulo y los botones de siempre (Nueva partida, Continuar, Opciones, Créditos).
- component — Una pieza reutilizable con parámetros (un botón de menú, una ficha…) que se coloca en otras vistas.
- hud — Frase de acción, lista de verbos, inventario y botón de pausa en una franja inferior, ya con sus enlaces y disparadores. Asígnala a la ranura «Interfaz de juego (HUD)».
- pause — Menú de pausa con Reanudar, Guardar, Cargar, Opciones y Salir.
- dialogue — Las respuestas de una conversación, una por botón.
- options — Volúmenes, velocidad del texto e idioma.
- saves — La lista de partidas guardadas para guardar y cargar.
- credits — Pantalla de créditos.
- blank — Una cuadrícula vacía.

EXAMPLE (a title and one button)
{ "id": "demo", "name": "Demo", "kind": "screen", "design": { "width": 1920, "height": 1080, "scale": "fit" },
  "root": { "id": "root", "type": "Grid", "children": [
    { "id": "bg", "type": "Border", "props": { "background": { "type": "radial", "stops": [ { "at": 0, "color": "#2b3a66" }, { "at": 1, "color": "#0a0d19" } ] } } },
    { "id": "t", "type": "TextBlock", "props": { "text": { "bind": { "path": "Game.Title" } }, "fontSize": 96, "fontWeight": "black", "foreground": "#f5c542", "horizontalAlignment": "center", "verticalAlignment": "center", "margin": [0, -200, 0, 0] } },
    { "id": "go", "type": "Button", "props": { "content": "Play", "width": 320, "height": 58, "horizontalAlignment": "center", "verticalAlignment": "center", "margin": [0, 120, 0, 0], "background": "#8a5524", "foreground": "#fff3d0", "cornerRadius": 12 },
      "states": [ { "name": "Common", "states": [ { "name": "hover", "props": { "background": "#a8692c" } } ] } ],
      "triggers": [ { "on": "click", "do": [ { "do": "command", "name": "Game.NewGame" } ] } ] }
  ] } }

EDIT OPERATIONS (edit_uipro_view {view, ops:[…]}; all or nothing, applied in order)
- { "op":"view", "name"?, "kind"?, "design"?:{width,height,scale}, "triggers"?, "params"?, "animations"? } — view settings.
- { "op":"add", "parent":"<nodeId>", "node":{ "type", "props"?, "children"?, … }, "index"?, "bare"? } — adds a subtree. Without "bare":true the element is born with the editor defaults for its type (e.g. a Button gets a look); ids are created for you (the answer lists "created").
- { "op":"remove", "id" } · { "op":"move", "id", "parent", "index"? } · { "op":"duplicate", "id" } · { "op":"rename", "id", "name" } · { "op":"reorder", "id", "delta" } (±n among siblings) · { "op":"wrap", "id", "type":"Border" } · { "op":"unwrap", "id" }.
- { "op":"set", "id", "props":{ key: value, … }, "state"? } — sets properties (null is a valid value for brushes / image); with "state":"hover" they go in that visual state. Invalid value → the edit is rejected with the reason.
- { "op":"unset", "id", "keys":[…], "state"? } — removes properties (back to default).
- { "op":"triggers", "id", "triggers":[…] } and { "op":"states", "id", "states":[…] } — replace all triggers / state groups of a node ([] removes them).

TIPS
- Translations: set props.textKey on a TextBlock / Button / CheckBox to a key of the project's texts table: it shows the player's language (the written text is the fallback) and re-translates live when Settings.Language changes. Create keys with patch_project ({"$text":"…"} on any text field, then read the key) and write translations with write_texts.
- Read first (read_uipro_view / describe_uipro_view), edit second. Keep ids stable; give elements a "name" so the author finds them in the editor tree.
- Design for the view's resolution, then check with describe_uipro_view {layout:true}. Text that is too big for its box is cut or wrapped: widen the box or lower fontSize.
- Do not invent properties, element types or commands: the validator drops them. Everything valid is in this guide.