Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ADefaultPawn
Description
Input callback to strafe right in local space (or left if Val is negative).
| Name | MoveRight |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/DefaultPawn.h |
| Include Path | #include "GameFramework/DefaultPawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DefaultPawn.cpp |
UFUNCTION (BlueprintCallable, Category="Pawn")
virtual void MoveRight
(
float Val
)
Parameters
| Name | Remarks |
|---|---|
| Val | Amount of movement in the right direction (or left if negative). |
See Also
- APawn::AddMovementInput()