0 votes
by (690 points)
This arrow let's you cheat the game by going back a frame and refreshing the (random:) and (either:) rolls. I want to get rid of this nuisance, but can't figure out how...

1 Answer

+2 votes
by (159k points)
selected by
Best answer

If you use your web-browser's built-in Web Developer tools to Inspect that area of the Harlowe sidebar you will learn that the HTML used looks something like the following.

	<tw-icon tabindex="0" class="undo" title="Undo">↶</tw-icon>
	<tw-icon tabindex="0" class="redo" title="Redo" style="visibility: hidden;">↷</tw-icon>

You can use CSS within your Story Stylesheet area to target the tw-sidebar element and to change that element's display property to none.

tw-sidebar {
	display: none;


by (690 points)
I'll try that, thanks


Will I have to do that to every passage, or just the starting passage?
by (159k points)

Will I have to do that to every passage, or just the starting passage?

Placing that CSS in your story's Story Stylesheet area will effect every Passage shown to the Reader.

by (110 points)
Thank you for your answer, greyelf. That's definitely effective.

Is there a way to disable the undo button only in select passages? I'm in Twine 2.0.11 using Harlowe and I would like to disable the back button for every passage except for one. Apologies if you've answered this elsewhere, I haven't been able to find a solution for this specific issue.
by (1.1k points)

The (undo:) docs suggest that you can (in a header-tagged passage) use the following to clear the sidebar:

(replace: ?Sidebar)[]

So you should be able to use that conditionally?