IAsyncDriverElement::Press

Moves focus to the element, then triggers the series of events to invoke keyboard input for pressing the specified key.

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

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/IDriverElement.h
Include #include "IDriverElement.h"
[TAsyncResult](API\Runtime\Core\Async\TAsyncResult)< bool > Press
(
    [FKey](API\Runtime\InputCore\FKey) Key
)

Remarks

Moves focus to the element, then triggers the 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 key. whether the press was successful


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library