Table of Contents

Class MoveComputerAction

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll

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

ComputerActionType

X

The x-coordinate to move to.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("x")]
public int X { get; }

Property Value

int

Y

The y-coordinate to move to.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("y")]
public int Y { get; }

Property Value

int