Skip to content

Card.IsFacedown ​

Signature ​

lua
Card.IsFacedown(Card c) -> bool

Description ​

Checks whether c is in face-down position.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 992 indexed script(s).
  • Search this function in the Script Explorer with Card.IsFacedown.
CardIDScriptDetected Calls
Salamandra with Chain62091148Scripts/c62091148.lua1
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua2
Levia-Dragoon - Daedalus78579058Scripts/c78579058.lua1
Lady's Dragonmaid48658295Scripts/c48658295.lua2
Azure Ocean Dragon Lord - Neo-Daedalus Rage41570943Scripts/c41570943.lua2
Goyo Emperor59255742Scripts/c59255742.lua1
Deftero Enneacraft - "alazoneIA"92171126Scripts/c92171126.lua2
Destiny HERO - Destro-Dogma25158975Scripts/c25158975.lua1
Fiendsmith's Sequence49867899Scripts/c49867899.lua2
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua1
Lubellion the Searing Dragon70534340Scripts/c70534340.lua2
Ghostrick Renovation61818176Scripts/c61818176.lua1
Magnet Bonding65514302Scripts/c65514302.lua1
Enneacraft - Asta.PIXEA28454232Scripts/c28454232.lua2
Resurgam Xyz49082032Scripts/c49082032.lua1
PSY-Framelord Omega74586817Scripts/c74586817.lua1
Enneacraft - Archa.TAIL81237046Scripts/c81237046.lua2
D/D/D/D Dimensional King Arc Crisis71398055Scripts/c71398055.lua2
Shining Draw35906693Scripts/c35906693.lua2
Enneacraft - Atil.SPIA71801447Scripts/c71801447.lua2
Enneacraft - Aiza.LEON82359538Scripts/c82359538.lua2
Odd-Eyes Arcray Dragon6218704Scripts/c6218704.lua2
Tellusion the Magna Warrior24431911Scripts/c24431911.lua1
GMX Associate Noma83528184Scripts/c83528184.lua1
...and 968 more

Script Examples ​

Salamandra with Chain (62091148) ​

Source: Scripts/c62091148.lua

lua
end
function s.fdfilter(c)
	return c:IsLocation(LOCATION_MZONE) and c:IsFacedown() or c:IsLocation(LOCATION_HAND)
end
function s.gdfilter(c)

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
			local mat=Duel.SelectFusionMaterial(tp,tc,mg1,nil,chkf)
			tc:SetMaterial(mat)
			if mat:IsExists(Card.IsFacedown,1,nil) then
				local cg=mat:Filter(Card.IsFacedown,nil)
				Duel.ConfirmCards(1-tp,cg)

Levia-Dragoon - Daedalus (78579058) ​

Source: Scripts/c78579058.lua

lua
end
function s.LExtraFilter(c,f,lc,tp)
	if c:IsOnField() and c:IsFacedown() then return false end
	if not c:IsCanBeLinkMaterial(lc) or f and not f(c) then return false end
	local le={c:IsHasEffect(EFFECT_EXTRA_LINK_MATERIAL,tp)}