# UI Frame Flag Check

Grammar — UI frame uIFrame is flag
FlagsFunction

# Arguments

Returns — bool

bool libNtve_gf_UIFrameFlagCheck(
	int lp_uIFrame,
	int lp_flag,
);

Category: UI / Game UI

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:4442

    lv_indexFrame = c_syncFrameTypeFirst;
    for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {
        if ((libNtve_gf_UIFrameFlagCheck(lv_indexFrame, libNtve_ge_UIFrameFlag_StoryModeFrame) == false) && (libNtve_gv__GameUIFrameFiltered[(lv_indexFrame)] == false)) {
            UISetFrameVisible(lp_players, lv_indexFrame, false);
        }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:3700

    lv_indexFrame = c_syncFrameTypeFirst;
    for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {
        if ((libNtve_gf_UIFrameFlagCheck(lv_indexFrame, libNtve_ge_UIFrameFlag_StoryModeFrame) == false) && (libNtve_gv__GameUIFrameFiltered[(lv_indexFrame)] == false)) {
            UISetFrameVisible(lp_players, lv_indexFrame, false);
        }