Skip to content

Card.GetOverlayGroup ​

Signature ​

lua
Card.GetOverlayGroup(Card c) -> Group

Description ​

Returns a Group containing the cards currently attached to c as Xyz Materials.

Parameters ​

  • c Card

Returns ​

  • Group

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 156 indexed script(s).
  • Search this function in the Script Explorer with Card.GetOverlayGroup.
CardIDScriptDetected Calls
Performage Cup Tricker6812770Scripts/c6812770.lua3
Ghostrick Renovation61818176Scripts/c61818176.lua1
Resurgam Xyz49082032Scripts/c49082032.lua1
Shining Draw35906693Scripts/c35906693.lua1
K9-EW Special Release Experiment26585784Scripts/c26585784.lua1
Power Patron DoomZ81650695Scripts/c81650695.lua1
Rank-Up-Magic Astral Force45950291Scripts/c45950291.lua1
Grandpa Demetto44190146Scripts/c44190146.lua2
Number 101: Silent Honor ARK - Soul Asylum2419596Scripts/c2419596.lua1
The Phantom Knights' Rank-Up-Magic Requiem62104532Scripts/c62104532.lua1
K9-X Forced Release53792930Scripts/c53792930.lua1
Phantom Knights' Rank-Up-Magic Force88504133Scripts/c88504133.lua1
Super Quantal Mech Ship Magnacarrier10424147Scripts/c10424147.lua2
D/D/D Deviser King Deus Machinex46593546Scripts/c46593546.lua1
Exosisters Magnifica59242457Scripts/c59242457.lua3
Darktellarknight Batlamyus64414267Scripts/c64414267.lua1
Purrely Sharely!?10780049Scripts/c10780049.lua1
Purrelyeap!?82983267Scripts/c82983267.lua1
Galaxy-Eyes Cipher X Dragon28346136Scripts/c28346136.lua1
Raider's Knight28781003Scripts/c28781003.lua1
Number 78: Number Archive29085954Scripts/c29085954.lua1
Salamangreat Blaze Dragon9608555Scripts/c9608555.lua1
CXyz N.As.Ch. Knight61374414Scripts/c61374414.lua1
Rank-Up-Magic Zexal Force36224040Scripts/c36224040.lua1
...and 132 more

Script Examples ​

Performage Cup Tricker (6812770) ​

Source: Scripts/c6812770.lua

lua
	local tc=Duel.GetFirstTarget()
	if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and not tc:IsImmuneToEffect(e) then
		local og=c:GetOverlayGroup()
		if og:GetCount()>0 then
			Duel.SendtoGrave(og,REASON_RULE)

Ghostrick Renovation (61818176) ​

Source: Scripts/c61818176.lua

lua
	local sc=g:GetFirst()
	if sc then
		local mg=tc:GetOverlayGroup()
		if mg:GetCount()~=0 then
			Duel.Overlay(sc,mg)

Resurgam Xyz (49082032) ​

Source: Scripts/c49082032.lua

lua
	local sc=g:GetFirst()
	if sc then
		local mg=tc:GetOverlayGroup()
		if mg:GetCount()~=0 then
			Duel.Overlay(sc,mg)