IAsyncActionSequence::Press

Queues a change of focus to the specified element, then a series of events to invoke keyboard input for pressing the specified key.

Unreal Engine C++ API Reference > Developer > AutomationDriver > IAsyncActionSequence > Press

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/IDriverSequence.h
Include #include "IDriverSequence.h"
[IAsyncActionSequence](API\Developer\AutomationDriver\IAsyncActionSequence) & Press
(
    const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IElementLocator](API\Developer\AutomationDriver\IElementLocator), ESPMode::ThreadSafe > & ElementLocator,
    [FKey](API\Runtime\InputCore\FKey) Key
)

Remarks

Queues a change of focus to the specified element, then a series of events to invoke keyboard input for pressing the specified key. The key will not be released, nor will their be repeat key events issued for holding the character.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library