Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Description
Returns the Platform User ID of the PlayerController that is controlling this character.
Returns an invalid Platform User ID if this character is not controlled by a local player.
| Name | GetPlatformUserId |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
UFUNCTION (BlueprintCallable, BlueprintPure, Category=Pawn)
FPlatformUserId GetPlatformUserId() const