Skip to content

confirm(string)#

Warning

You are reading documentation for Twine 1. This is maintained for archival purposes only.

Displays a yes/no dialog box. If you click Yes, the function's value is true. Otherwise, it is false. The provided string is the question shown to the player. This is a browser built-in.