Hello, my name is Steven Steinbach and in these lessons, we're gonna explore scripting in Maya 2022. Maya uses two languages for scripting, MEL scripting, which is Maya embedded language, and Python. With scripting, you can speed up the efficiency of any task. In fact, any execution or tool in Maya is actually a MEL script. We're gonna look at the script editor. You can open up the script editor in multiple places. The first one is down at the very bottom right-hand corner, there's an icon. And if you click on that, you can see the script editor. Another way is if you had multiple planes, something like this, and you wanted the script editor to be here, we could go to panel, panel, and go to the script editor here. And finally, you can find it under Windows general editors, script editor. The script editor has two major windows: the history panel and the input panel. So when you write code, you put it here, and then when you execute it, it will come up into the history. So if I wanna delete everything, I can select here. This resets everything. So, you can see here that if I was to create a shape like a sphere, well that's a MEL script right there. And you can see here that we've created a poly in relationship and this is the size of it. And then this is the results. So anytime you see two commas, that's just a comment here. So this is actually what was executed, and you can see that here. So, this is actually the script itself. So if I was to copy this right here, hit edit, copy, and then bring this up here to paste, well, if I run that it will duplicate that sphere. So I'm gonna run this MEL script and press play. And now we have a second sphere. So here, I'm moving the sphere over here and you can see that I've moved it over 13 units in X. Okay, so here's the coding right here. So we've moved this in relationship 13 over, and this is X, Y, and Z. So if I wanted to move this up and code it, I can do that here. I can actually just select this here. I can edit, copy, bring this down here, paste, control+V, and this time I wanna move it zero in X and maybe 10 units up, and then none here. Now, if I press play it will take the MEL script and delete it here. But if I wanted to keep this, if I select it all and press play, then it will move it up here and the code will stay there. If I don't do that and I uncheck it and press play, it will just copy that and move it back up here. So if you want this code back again, you'd have to copy that and paste it back down here. You can find lots of scripts online for free. And here's how you load up a script. So, we wanna find out where our script folder is and the easiest way to do that is go to file, open script and then you'll see your path right here. Generally under documents, Maya 22 scripts, depending on how you install Maya 2022 will determine where the script folder is. But again, all you have to do is go to file, open script, and then we're gonna copy and paste this. Copy. Then just open up a new file explorer and then we'll just hit control+V to paste and we'll see that folder here. Currently, there's no script. So here, we're just going to take from my downloaded and I have one called Art Tracker MEL script. I'm gonna bring it in and now it's loaded in my scripts. Okay, so once we do that, we can open up the script now and we're gonna go to file, open script and we'll just hit that and press okay. Now, once you have this, we can actually put it on the shelf. So here under one of my shelves here, I have a MEL or I can create another one here. I can create a new shelf, but I have one called MEL. And what I'm gonna do right quick is with this loaded right here, I'm gonna go to save script to shelf and we'll just call this "Arch" and whatever you wanna name it. And if I want to rename it, I can do it here. Edit and under shelves, I can save it there. And now I have that script. So if I run it now, I will get the script for this. In the next lesson, we're going to cover MEL scripting. Thanks for watching.