Skip to reading
Buttons, Labels & Text Boxes

Trace a button or submission problem

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from Trace a button or submission problem, page 43
SymptomFocused check
The button does nothing in Designer PreviewGameplay events are intentionally suppressed there. Test in Play / Restart or Test Scene.
It does nothing in the gameInspect the right element's Click event, target ID, enabled state and any overlapping GUI.
A click awards twiceCheck primary action, additional list, legacy action and double-click behavior.
The script reads the initial valueRead text for the current input. value belongs to the text-box definition used for filling it.
Restoring text has no effectFor these text-box recipes, write value rather than changing a second, unused text field in the definition.
Enter clears but does not run a scriptClear on Enter is independent. Use Run Parser on Enter for a parser sentence, or a submit button for the helper script.
Parser commands failEnable/configure the parser and check the room's actual verbs, targets or custom command script.
The note is lost in a fresh runCopy accepted input into a game variable and restore the field deliberately when needed.
A password comparison failsCheck case, outside spaces and the original input, not the drawn mask symbols.
A held image stays selectedUse Clicked Image for the temporary state and check for a permanent event-driven image change.

Reduce a failing setup to one field, one button and one visible result. Prove that connection before adding animation, several GUIs or a longer action list.

The examples were checked in the running editor: name entry, a real score-button click, wrong/correct answers, the one-time reward guard, multiline note restore, literal text, display masks, image states and parser submission.

Page 43 of 46Permalink
Go to page