Hello, welcome to this lesson in Unreal Engine. In this lesson, we will learn how to animate a platform in Unreal Engine. Open the intermediate project. Open a content drawer. Navigate the content, third person and maps. Open a third person map. So go file save current level as. We'll go back to content, go to our maps folder and we'll save this one as animation. Next, we need to disable a touch control overlay from the last lesson. Open settings, project settings we'll search for touch, and we wanna make sure that always show touch interface is checked off. Close the panel. Under the play options, we were on current camera location. We wanna change this to default player start. So our third person starts inside the template. So hit play, test it all out. We have our third person player. This is a new third person. That's new on Unreal Engine five. Escape to stop. So we wanna do is create a looping animated platform in our level that the character can take a ride on. Add a cube to the level. Scale a cube and Z to flatten it a bit. Hit R and then W and holding down shift the camera will move with the platform and we will place it at the end of this raised platform. Hit F to frame and I'm gonna move it a little bit below the lip. Next thing we wanna do is add a little color to this. We'll go to our details panel, go to materials. Under the list we'll look for anything with the color blue. We'll use M solid blue, which would be a good color and we wanna rename this cube and we'll call this people mover. Now, to animate the people mover we'll need to add a sequence to the level, click to sequences icon and select add level sequence. Open our sequences folder. We will name the sequence S for sequence underscore and save. The sequencer will appear in a panel. We don't have any tracks yet to start a new track. We'll find our people mover and from the outliner we'll drag it into the track panel. We will manually add key frames in this lesson so make sure auto key frame is off. We'll type in 300 for the view range, and time. And we'll drag red indicator to frame 240. This indicates our end of our range we're actually gonna animate to. This makes our animation playback range start with a green indicator is which is at frame zero to frame 240 with red indicator is placed. Make sure the timeline indicator set at zero. We wanna focus only on transforming the location. So we'll scroll down transform and we're just gonna focus on location. We're gonna add one key frame using the add key frame icon. We'll click the dot. Key frame appears at frame zero. Before we move the platform, let's go to the time we want for the next key frame. We'll go to frame 30 and I'm clicking and scrubbing the indicator slider. You'd also type into a value in this window. Now we'll move our platform. So we move our platform up. We'll move it right in line with the wall and we'll click add key frame. Scrub the timeline back and forth, and you see we're getting some animation we're getting some movement already. Now we'll go to frame 90. I'll type in 90 here. You may wanna zoom out and you viewport and orbit. Now let's move the people mover over and we'll bring it above this circular area. Hit up to frame in the people mover to get a better view and we'll center it pretty well right here, and we'll make another key frame. I'll go to frame 120 clicking and dragging in this case. I'm gonna orbit, see where my people mover is. Now I want this to land on this circular base. So nice shortcut for this is just hit the end key and we'll make another key frame. Let's scrub, see if it's all moving properly and it's looking pretty good. And if I hit the left and right arrows, this will jump to the different key frames. Could also go to frame zero, hit play and see how this is starting to look. That movement looks pretty nice. We'd like this to loop back in reverse. An easy way to do that is to copy and paste key frames. So go to frame 90. I'll type in 90. So frame 90, I wanna copy over to frame 150. I'm gonna click the key frame, hold down alt, click and drag to reframe 150 and let go. Now we have a copy of frame 90 into 150. So you can see it in our same spot. Now I'll do the same action to copy key frame 30 to frame 210. So I can type in 30, hold down, alt, click and drag. I'm gonna go to frame 210, and now I have a copy. And last thing I wanna do is go back to frame zero. We want to begin and end in the same spot. So I'm gonna hold down alt, click drag to frame 240. I'll play it back. And my platform moves, drops down, comes back up and moves back to the same exact spot. So that's a perfect loop. If you're not getting a looping animation hit pause and the icon all way to the right is your loop playback range. You would just click that till you see the loop arrow then hit play. So we're gonna close the sequencer. This is a good time to save our scene. We'll go save all, save selected. Next, we'll play our level and see what happens. Up to the platform but the platform's not moving. That's because a sequence needs to be triggered by an actor blueprint or a level blueprint. Click blueprints, open level blueprint. We'll scroll down the outliner and we'll drag our S people mover into the graph window. This is our sequence. This creates a node. From here we could drag out a wire. We'll type one word play cause we wanna play the sequence. So I'm gonna select the looping option. I'm gonna clean up my nodes, move them around. Under numb loops, that's a number of loops. If it's set to minus one, it will play forever. Next, let's pull a wire from the exec pin and we need something to trigger this all the work. So usually when we begin the game we'll type in begin and here's an event begin play. So when the level starts playing it'll trigger to play looping it will trigger the sequence player to play. Click compile, save. Close the panel. We'll play the sequence. We can already ready to see it moving. We'll run over to the area. Guess we'll wait for the next trip. This is great for creating elevators. And now we're moving on to platform. Hit escape to stop play. In the next lesson, we're gonna learn about using a mixamo characters and animations in Unreal Engine. Thanks for watching.