Skip to content

Card.IsFaceupEx ​

Signature ​

lua
Card.IsFaceupEx(Card c) -> bool

Description ​

Checks whether c is face-up; returns true for cards in the hand, Graveyard, Main Deck, and similar hidden/non-field locations.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3656

Guided Examples ​

Learn how to use this function in context:

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 382 indexed script(s).
  • Search this function in the Script Explorer with Card.IsFaceupEx.
CardIDScriptDetected Calls
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua2
Lady's Dragonmaid48658295Scripts/c48658295.lua1
Eternal Favorite87532344Scripts/c87532344.lua1
Spellbook of the Grand Circle11911336Scripts/c11911336.lua1
Melffy Playtime Surprise58036097Scripts/c58036097.lua1
Ashtraja Susanoo17020474Scripts/c17020474.lua1
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua2
Meteoroa Drytron24166324Scripts/c24166324.lua1
Gem-Knight Dispersion24220368Scripts/c24220368.lua1
Pere-Zenet Em Heru46273941Scripts/c46273941.lua1
Am Duazenet45151304Scripts/c45151304.lua1
Magnet Bonding65514302Scripts/c65514302.lua1
Predaplant Bal Teah66787942Scripts/c66787942.lua1
Teleport Fusion36494597Scripts/c36494597.lua1
Junoldo the Shadespirit Power Patron10266279Scripts/c10266279.lua1
Flower Cardian Peony with Butterfly57261568Scripts/c57261568.lua1
Chimera Fusion63136489Scripts/c63136489.lua1
Tellusion the Magna Warrior24431911Scripts/c24431911.lua1
GMX Associate Noma83528184Scripts/c83528184.lua1
The Gaze of Timaeus22283204Scripts/c22283204.lua1
Vidolium the Unstable Power Patron of Unity70488851Scripts/c70488851.lua1
Cerynemesia, Mystical Beast of the Forest43632709Scripts/c43632709.lua1
Stars Align Above the Shrine15306543Scripts/c15306543.lua1
Flower Cardian Willow with Calligrapher89818984Scripts/c89818984.lua1
...and 358 more

Script Examples ​

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
end
function s.filter1(c,e)
	return c:IsFaceupEx() and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter2(c,e,tp,m,f,chkf)

Lady's Dragonmaid (48658295) ​

Source: Scripts/c48658295.lua

lua
end
function s.filter1(c,e)
	return c:IsFaceupEx() and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck() and not c:IsImmuneToEffect(e)
end
function s.filter2(c,e,tp,m,f,chkf)

Eternal Favorite (87532344) ​

Source: Scripts/c87532344.lua

lua
end
function s.spfilter(c,e,tp)
	return c:IsFaceupEx() and c:IsSetCard(0x1a5) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)