AController::IsLocalPlayerController

Returns whether this Controller is a locally controlled PlayerController.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h

Include

#include "GameFramework/Controller.h"

Syntax

bool IsLocalPlayerController() const

Remarks

Returns whether this Controller is a locally controlled PlayerController.