UPlayerInput::DiscardPlayerInput

Rather than processing input, consume it and discard without doing anything useful with it.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerInput.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp

Syntax

void DiscardPlayerInput()

Remarks

Rather than processing input, consume it and discard without doing anything useful with it. Like calling ProcessInputStack() and ignoring all results.