 Alright, so let's close out our vex functions and easing functions here by wrapping this all up into an HDA and turning this into a path So let's start with a path So it's pretty awesome because we created this using a for loop which means that all the points are in the correct order They go from zero to the number of points 33 in this case. So This actually makes this really easy. We just need to drop down a switch node All right, and this will allow us then to utilize an add node let's do that one more time there an add node and All I really need to do is go to the polygon tab and just say by group and I get a path or a polyline Using all those points. So I'm going to pipe that into my switch function So now I have the option of getting just the points or the path All right, so this is super useful especially if you want to utilize these Curves these particular types of curves or functions to do things like suspension bridges Or railing on like a staircase railing, you know Stuff like that, you know, you can always lofta or sweep. I should say a circle along these and get a nice clean shape out of it. All right, so Let's move on to make this making this into an HDA So I'm going to jump up and out using the U key on the keyboard and I'm just going to right-click on this and say create digital asset and we are going to Call this the well, I'm going to call the IP easing video and then I'm going to make these guys these capitals Just for the label and I'll save it in my standard documents otl's folder. All right, that's my home folder right there hit accept and Destroy all spare parameters, which is fine. Then let's let's just hide all this stuff here Very cool All right, and the first thing I want to do is I want to create an ordered menu And this ordered menu is going to let us select the function type So for the label, I'm going to do function type All right So what we need to do with this ordered menu is actually put in all the different options that a user could select Utilizing all the functions these VEX functions that we've written. All right, so I'm going to say that Menu item zero is equal to linear Like so menu item one is equal to ease in like so Menu item two is equal to ease out and Then finally menu item three is equal to ease in out That apply Accept all right, so if we were to jump back out of this, so let's hit you on the keyboard You can see now I have a drop-down that has all the options in it So I want to be able to utilize this value inside of my VEX or my wrangle node So what we need to do is we need to come in here and create a parameter that we can attach The value to that parameter that's sitting on top of the HDA So I'm going to declare declare a new Integer called type and it's going to be equal to CHI We'll just call it type as well. So it's a channel that sits on this wrangle node So I'm going to go and hit that spare parameter button. So now I have a way to access That menu item. So all I need to do is say CH To quotation marks and then dot dot forward slash and then function type that gives me access To whatever is selected inside of the menu. All right, so that's just the first step Okay, so what we need to do now is we need to actually hook up the code. So that way we're switching appropriately Right here. We're switching appropriately to the right function based off of this type value So whatever that type value is currently equal to so I'm going to say if Type is equal to zero then we're going to do a linear. All right, so let's just copy this right here, so I'm gonna put this right down there like so and Say We are going to do the linear ease All right, and now you might notice that we're declaring the y value down here So we need to do to make this work is cut that out Paste it up there and not initialize it to anything. Oh, you can always initialize it to zero as well if you want All right But now what's going to happen is we initialize it zero and then we're going to see what type the user selected Then we're going to set the the y value to something All right, so let's finish this up here. So I'm going to say The y value is equal to that ease in and out there, but we need to finish up our if else checks here So I'm going to say if type is equal to one that means we are doing Our ease in so let's copy this here All right, and we'll do our ease in Function and then we'll do else if Type is equal to two All right, these all correspond to those items that we just typed into that ordered menu option So I want to ease out Like so there we go and then finally if we get to the last one we're going to do type Is equal to three and we'll do this ease in and out function So there we go And you'll notice that by default our ordered menu is set to linear So we're getting that linear types and now we're getting a linear line Cool, so let's jump up and out and select a different function. So ease in ease out Use in and out there we go All right, so last things I want to do is just kind of add some more Parameters here. So let's go and right click on our using video HD and select type properties Let's jump back in and let's actually expose the number of points So I'm going to hold down alt on the keyboard and then middle mouse click the num points spare parameter and you'll notice that it pops into my Type properties here right away. So let's just Give this a new name. We'll call this number of Points for the label Clean that up there All right, and I'm going to make sure that we have at least two points And we can take this up to like a hundred and our default will be 30 There we go hit apply and accept and you can see now we're attached. Okay, and Then what I want to do is expose the switch here So I'm going to middle mouse click and hold down alt on the keyboard and again that promotes it automatically to my type properties And I want to say create path question mark and Then turn this to a toggle type And we'll just make sure that that's defaulted to zero. So we just get points And we're gonna hit apply and accept Hit up or you on the keyboard and let's test this out So now I can just drag this around and create more points I can create a path out of it if I want or just get the points We can switch to different easing functions like so Super cool. All right Okay, so that's what I wanted to show you guys let me know if you guys have any questions and I will keep on making cool vex stuff Here shortly. Thanks so much