Navigation
Unreal Engine C++ API Reference > Developer > AutomationDriver > IActionSequence > Press
References
Module | AutomationDriver |
Header | /Engine/Source/Developer/AutomationDriver/Public/IDriverSequence.h |
Include | #include "IDriverSequence.h" |
[IActionSequence](API\Developer\AutomationDriver\IActionSequence) & Press ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IElementLocator](API\Developer\AutomationDriver\IElementLocator), ESPMode::ThreadSafe > & ElementLocator, [EMouseButtons::Type](API\Runtime\ApplicationCore\GenericPlatform\EMouseButtons__Type) MouseButton )
Remarks
Queues a move of the cursor over the element, then a series of events to invoke mouse input for pressing the specified button. The button will not be released, nor will their be repeat button events issued for holding the button.