Navigation
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 ( [EMouseButtons::Type](API\Runtime\ApplicationCore\GenericPlatform\EMouseButtons__Type) MouseButton )
Remarks
Moves the cursor over the element, then triggers the series of events to invoke mouse input for pressing the specified button. The button will not be released. whether the press was successful