Skip to content

Card.GetDestination ​

Source Code | Usage Examples | Card Functions

Returns the location a card would be sent to (e.g. when it would be destroyed).

Signature ​

Card.GetDestination(Card c) → int

lua
c:GetDestination()

Parameters ​

  • Card c ​

    The card to get the destination of.

Returns ​