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