Class ClickComputerAction
A click action.
public sealed class ClickComputerAction : IComputerAction
- Inheritance
-
ClickComputerAction
- Implements
- Inherited Members
Constructors
ClickComputerAction()
public ClickComputerAction()
ClickComputerAction(ComputerClickButtonType, Coordinate)
public ClickComputerAction(ComputerClickButtonType button, Coordinate position)
Parameters
button
ComputerClickButtonTypeposition
Coordinate
Properties
Button
Indicates which mouse button was pressed during the click.
[JsonInclude]
[JsonPropertyName("button")]
public ComputerClickButtonType Button { get; }
Property Value
Type
Specifies the event type. For a click action, this property is always set to click
.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ComputerActionType Type { get; }
Property Value
X
The x-coordinate where the click occurred.
[JsonInclude]
[JsonPropertyName("x")]
public int X { get; }
Property Value
Y
The y-coordinate where the click occurred.
[JsonInclude]
[JsonPropertyName("y")]
public int Y { get; }