Stage Panel Show
stage_panel_showOpens a VR panel with title, text, image, and buttons anchored to the world or the user's body to show notes or ask questions, collecting answers through button pokes or gestures.
Instructions
Open a panel in VR with a title, text, an image (URL) and buttons (page command: panel). anchor='world'
(default) fixes it 0.7 m in front of the person: for a note about a place. anchor='body' makes it ride with them,
just out of view to the side ('right' or 'left') of where their body faces, so they turn their head to read it
and it follows them as they move: for a message to them. seconds closes it by itself; the X closes it. wait defaults
to True for a world panel (a question) and False for a body panel (a message never holds the command queue).
sender= your name as the person should see it (e.g. "crossroads film"): a chip and border in that name's colour,
and a body panel goes on that name's side unless side= says otherwise.
It never opens while they are talking (a note recording, the phone gesture, 3 s after a note): it waits, and
emits panel_held. The person answers by poking a button, pointing and pinching, or a right thumbs
up / down held 450 ms (first / last button). seconds closes it by itself. quiet skips the chime. wait=True BLOCKS the
command queue until the answer; wait=False replies at once. The same panel_id replaces an open panel. near is used
by the page's own modules as a three.js vector; from a command it is unclear (a JSON list has no x/y/z) and should
not be relied on. Page replies {id, answer, via, seconds}, {id, answer: null, why} when closed unanswered, or
{id, shown: true} with wait=False. Emits: panel_shown, panel_answer, panel_closed.
A yes/no panel (its buttons are yes and no words) whose title or text a standing grant covers is refused: act on
the grant and say what you did; override_grant='' shows it anyway and logs the reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | ||
| side | No | ||
| text | No | ||
| wait | No | ||
| image | No | ||
| quiet | No | ||
| scene | Yes | ||
| title | No | ||
| width | No | ||
| anchor | No | world | |
| sender | No | ||
| buttons | No | ||
| seconds | No | ||
| panel_id | No | ||
| override_grant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |