Making a passage dissapear when leaving it

Twine 2
Sugarcube 2.36.1
I need help with making a passage disappear when i leave said passage.
Example: i walk into the house, check around then leave house. Now i can’t ever go back to said house passage

1 Like

Assuming your passage is titled “House”, you can automatically disable a link in this way. Just add it to any other passage:

<<if hasVisited("House")>>
You can't go back to the house.
<<else>>
Enter the [[House]]
<</if>>

See this part of the documentation for further use.

1 Like