0:00:04.980,0:00:10.360 Here's a function that draws a square with[br]50 pixel sides. That's great but what if I 0:00:10.360,0:00:16.449 wanted to draw a square with sides 50 pixels[br]and another square with sides of 100 pixels? 0:00:16.449,0:00:21.199 We shouldn't have to make two separate functions[br]that do almost the same thing. Instead, we 0:00:21.199,0:00:27.439 can use one function with a parameter. Parameters[br]allow us to pass values into a function that 0:00:27.439,0:00:32.250 get used as variables inside the function.[br]Let's try adding a parameter called like to 0:00:32.250,0:00:37.860 this function so we can use it to create squares[br]of different sizes. In the function editor, 0:00:37.860,0:00:42.989 you can edit the name and description like[br]before but now you can also add a parameter. 0:00:42.989,0:00:48.280 Write the name of your parameter in the space[br]and click Add Parameter. This will create 0:00:48.280,0:00:54.460 a red block with the name of the parameter[br]you just created. Now we can replace the move 0:00:54.460,0:01:01.969 forward by 100 block with the parameter Length[br]so it will move forward by Length. Click save 0:01:01.969,0:01:07.930 and close and drag out your new create a square[br]block from the functions category in the toolbox. 0:01:07.930,0:01:11.980 You'll notice there's an empty space next[br]to length because the function wants to know 0:01:11.980,0:01:17.110 what value the parameter Length should have.[br]Drag a number block from the Math category 0:01:17.110,0:01:22.050 and place it in this space. See how you can[br]use the function again and again with different 0:01:22.050,0:01:25.890 lengths to make squares of different sizes?[br]Try it for yourself!