DragOverInfo
Object for storing various event data required by the "whenDraggedOver"
puzzle block.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
draggedObjName |
string | Name of the currently dragged object. |
downX |
number | Mouse or touch event's offsetX coordinate of the point where dragging started. |
downY |
number | Mouse or touch event's offsetY coordinate of the point where dragging started. |
prevX |
number | Mouse or touch event's offsetX coordinate of the previous point during dragging. |
prevY |
number | Mouse or touch event's offsetY coordinate of the previous point during dragging. |
currX |
number | Mouse or touch event's offsetX coordinate of the current point during dragging. |
currY |
number | Mouse or touch event's offsetY coordinate of the current point during dragging. |
isDowned |
boolean | Flag telling if the mouse is already down or the touch already started. |
isMoved |
boolean | Flag telling if the mouse or the touch point moved during dragging. |
touchId |
number | Identifier of the touch contact point. Used only for touch events. |
downPointWorld |
v3d.Vector3 | 3D point (world space) on the currently dragged object where dragging started. |