Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn
- AActor::DisableInput()
- APawn::DisableInput()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual void DisableInput
(
APlayerController * PlayerController
)
Remarks
Removes this actor from the stack of input being handled by a PlayerController.
Parameters
| Name | Description |
|---|---|
| PlayerController | The PlayerController whose input events we no longer want to receive. If null, this actor will stop receiving input from all PlayerControllers. |