API reference
Preparing search index…

ImGui.BeginDragDropTarget

  • Begin a drag-and-drop target for the preceding item.

    Returns

    boolean

    True when the last item can act as a target for the current drag. Inspect AcceptDragDropPayload() for payload matching/delivery, and call EndDragDropTarget() only when true.

    call after submitting an item that may receive a payload.

    If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0