Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPawnMovementComponent
Description
Return the pending input vector in world space. This is the most up-to-date value of the input vector, pending ConsumeMovementInputVector() which clears it. PawnMovementComponents implementing movement usually want to use either this or ConsumeInputVector() as these functions represent the most recent state of input.
| Name | GetPendingInputVector |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PawnMovementComponent.h |
| Include Path | #include "GameFramework/PawnMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PawnMovementComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Pawn|Components|PawnMovement", Meta=(Keywords="GetInput"))
FVector GetPendingInputVector() const
The pending input vector in world space.