build_picture
Generate Show Picture or Erase Picture event commands for RPG Maker MZ. Specify slot, image, position, scale, and blend to display or clear a picture.
Instructions
Build a Show Picture (231) or Erase Picture (235) event command for insertion via insert_event_commands. show: display name in slot pictureId with origin/position/scale/opacity/blend; erase: clear the slot. Read-only: returns { command }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | show: screen x in pixels (default 0) | |
| y | No | show: screen y in pixels (default 0) | |
| kind | Yes | Show a picture or erase a slot | |
| name | No | show: picture basename (from list_assets("pictures")) | |
| blend | No | show: blend mode (default normal) | |
| indent | No | Indentation level (default 0) | |
| origin | No | show: anchor point (default upper_left) | |
| scaleX | No | show: horizontal scale % (default 100) | |
| scaleY | No | show: vertical scale % (default 100) | |
| opacity | No | show: opacity 0–255 (default 255) | |
| pictureId | Yes | Picture slot 1–100 |