
Setting up Unreal Project Templates 23
FIGURE 1.20: Blueprint Movement in a Top-Down Project.
What this allows us to do is, if the mouse button is pressed down, we can drag
the mouse around and constantly update the location of the player. You can also
simply click a location and have the character move toward that location. Either
way, once the mouse button is released, the g ate is closed and the last locatio n
sent through will be the character’s current location.
Once we pass through the gate, we call a custom function ca lled Moveto-
HitLocation (see Figure 1.20). We can view this function by clicking it on the
left side of the blueprint window ...