class

OpenAI::Move

Inherits JSON::Serializable < Reference < Object

A mouse move action.

Constructors

new(type_value : MoveType = MoveType::Move, x : Int64 = 0, y : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

type_value

Specifies the event type. For a move action, this property is always set to move.

Source
type_value=(type_value : MoveType)

Specifies the event type. For a move action, this property is always set to move.

Source
x

The x-coordinate to move to.

Source
x=(x : Int64)

The x-coordinate to move to.

Source
y

The y-coordinate to move to.

Source
y=(y : Int64)

The y-coordinate to move to.

Source