IsDraggingItem

Prototype: GemRB.IsDraggingItem ()

Description: Returns 1 if the player is dragging an item with the mouse (usually in the inventory screen). Returns 2 if the player is dragging a portrait (rearranging the party).

Parameters: N/A

Return value: integer, 1 if we are dragging an item, 2 for portraits

See also: DropDraggedItem, DragItem


Back to function index, GUIScript introduction.