+1 vote
by (380 points)
I searched around but couldn't find the answer to this, how do I hide or disable the UI bar from appearing every time I test the story starting at a specific passage? Thanks!

2 Answers

+1 vote
by (1.7k points)
selected by
 
Best answer

If you're in Twine 1, put this in a script passage.

$('#ui-bar').remove();
$(document.head).find('#style-ui-bar').remove();

 

by (380 points)
I'm actually in Twine 2 but that did the trick anyway! Thank you!
+1 vote
by (68.6k points)

If you're using an older version of SugarCube (<v2.17.0), then litrouke's answer is appropriate.  Starting with SugarCube v2.17.0, however, the correct way to remove the UI bar, as noted in its documentation, is the following:

UIBar.destroy();

Honestly, reading SugarCube's official documentation does actually help in most cases.

...