Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULocalPlayer
Description
Returns the controller ID for the player. This is a legacy identifier corresponding to the primary physical controller used by the player. You may want to use GetPlatformUserIndex or GetLocalPlayerIndex instead.
| Name | GetControllerId |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
| Include Path | #include "Engine/LocalPlayer.h" |
int32 GetControllerId() const