PersistentAgentsModelFactory.ClickAction(Int32, Int32, MouseButton) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ClickAction.
public static Azure.AI.Agents.Persistent.ClickAction ClickAction(int x = 0, int y = 0, Azure.AI.Agents.Persistent.MouseButton button = default);
static member ClickAction : int * int * Azure.AI.Agents.Persistent.MouseButton -> Azure.AI.Agents.Persistent.ClickAction
Public Shared Function ClickAction (Optional x As Integer = 0, Optional y As Integer = 0, Optional button As MouseButton = Nothing) As ClickAction
Parameters
- x
- Int32
The x-coordinate where the click occurred.
- y
- Int32
The y-coordinate where the click occurred.
- button
- MouseButton
Indicates which mouse button was pressed during the click.
Returns
A new ClickAction instance for mocking.