Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
virtual bool ShouldFlushKeysWhenViewportFocusChanges&40;&41; const
Remarks
If true, then the GameViewportClient should call FlushPressedKeys on this controller when it loses focus. The default behavior here is to return true if the PlayerController is in any input mode other than GameAndUI