Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Description
Returns true if controlled by a human player (possessed by a PlayerController). This returns true for players controlled by remote clients
| Name | IsPlayerControlled |
| 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 (BlueprintPure, Category=Pawn)
virtual bool IsPlayerControlled() const