- ws - The root element
- settings
- stage - Defines the properties of the stage
- triggers - Defines the triggers to be used within the story
- trigger - Sets up a trigger, for example to bind an action to a keyboard event
- assets
- animation
- group - A group of commands for an animation
- do - A generic command for applying an action to an asset
- transform - Tweening command for an asset's CSS style
- audio
- track - An audio track
- source - A source file for an audio track
- background
- character
- displayname - The character's displayed name
- curtain
- imagepack
- image - An image contained within an ImagePack
- textbox
- nameTemplate
- composite
- scenes
- scene - A scene containing various commands
- alert - Pop-up UI dialog for informing the user about something
- break - Breaks the story's flow and waits for user action
- choice - Displays a choice menu
- option - An option on a choice menu * var - Defines a local variable.
- clear - Clears a textbox
- confirm - Pop-up UI dialog for a yes/no type question
- flash - Flash effect for visible elements, changing the opacity once
- flicker - Flicker effect for visible elements, changing the opacity multiple times in a row
- fn - Executes a function
- global - Sets a global variable
- globalize - Exports a local variable to the global scope
- goto - Jumps to the beginning of another scene
- hide - Hides a visible asset
- line - Displays text on textbox
- localize - Imports a global variable into the local scope
- move - Moves a visible asset on the stage
- pause - Pauses an audio track
- play - Plays an audio track
- prompt - Pop-up UI dialog for requesting user input
- restart - Restarts the WebStory
- set - Sets an image on an ImagePack or a track on an Audio asset
- set_vars - Sets the values of many variables at once
- shake - Shakes an asset
- show - Displays an asset on the stage
- start - Starts an animation
- stop - Stops an Audio track or an animation
- sub - Enters another scene, executes it and then returns to the current scene
- tag
- trigger - Activates or deactivates a trigger
- var - Sets a local variable or performs an action on it
- wait - Waits for a specified time or until all previous commands have been executed
- while - Loops a series of commands for as long as the condition is met
- with - Executes different commands depending on a variable's value