property DragInfo.CurrentY as Long
Indicates the current y-position of the cursor, while dragging the layer.

TypeDescription
Long A Long expression that indicates the current y-position of the cursor, while dragging the layer.
The CurrentX / CurrentY property indicates the current (x,y)-position of the cursor, relative to the upper-left corner of the control, while dragging the layer. The OffsetX / OffsetY property specifies the (x,y)-position of the layer, relative to the upper-left corner of the control. The  OffsetXValid / OffsetYValid property to validate the (x,y)-position of the layer. For instance, you can use the OffsetXValid property on "0", and so no horizontal movement is allowed.

The following properties can be used during dragging to determine the horizontal / vertical offset:

The DeltaAngle property specifies the angle (in degrees) that has been rotated the layer/object, during the drag operation.