@hud-button
Place a button that stays on screen while playing. Pressing it calls the call= scene, and when the scene returns, the page being read (or the choices being shown) is shown again. It stays until @hud-button-off and is kept in saves
- Standard plugin
- Can be written without the name
name
Parameters
nameRequiredText
Name (writing the same name again replaces it; used by @hud-button-off and @hud-text-off to remove it)
callRequiredJump target (file#label)
Scene to call when pressed (#label, file#label). It returns at @return or the next label
imageAsset (image)
Button image (a text button with label if omitted)
hoverAsset (image)
Image while the mouse is over it
labelText
Button text (when image is omitted; also read by screen readers)
xNumber
Default: 0Left edge (px)
yNumber
Default: 0Top edge (px)
widthNumber
Width (px; the size of the image or text if omitted)
heightNumber
Height (px)
keyText
Key that presses it (m, F1 and so on; upper and lower case letters are the same). It works while playing and while choices are shown, before the default keys of other actions
show-ifCondition expression
Condition for showing it (an expression). Hidden while false; checked again whenever a variable changes