# Dialog Item Anchor

Grammar — Anchor of dialogItem for player
FlagsNative | Function

Returns the anchor for the specified dialog item in relationship to its parent dialog. Requires a Player parameter as different players may have dialogs set up differently.

# Arguments

  • int [ control ] — Dialog Item
  • int — Player

Returns — int [ preset::Anchor ]

native int DialogControlGetAnchor(int control, int player);

Category: Dialog / Dialog Item Size And Position

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1776
DialogControlGetAnchor(lp_dialogItem, lp_player)
// L1797
DialogControlGetAnchor(lp_dialogItem, lp_player)