UPlayerInput::ConsumeKey

Set the Key consumed for the frame so that subsequent input components will not be notified they were pressed

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 ConsumeKey
(
    FKey Key
)

Remarks

Set the Key consumed for the frame so that subsequent input components will not be notified they were pressed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss