To create a variable in Scratch, go to the ‘Variables’ block and then click on the ‘Make a Variable’ option.