There are three types of variables available in Storyline:
True/False: This type of variable is sometimes known as a Boolean variable. Unlike numeric or text variables, they can have one of two states: on or off. This type of variable can be used for things such as toggling buttons based on user input, detecting learner activity such as where a user is in a course, or seeking acknowledgement such as user agreement.
Number: This type of variable contains numeric values only and can be manipulated using basic math operations (add, subtract, multiply, and divide). Number variables are often used for scores and number of attempts.
Text: This type of variable can contain any value: numbers, letters, spaces, and special characters. ...