Skip to content

Duel.GetEnvironment ​

Source Code | Usage Examples | Duel Functions

Gets the environment code for the applied field card (the same as the Field Spell's code, usually). Returns the code, then the controlling player. Prioritizes the first player. deprecated and should be avoided

Signature ​

Duel.GetEnvironment() → int, int

lua
Duel.GetEnvironment()

Returns ​


under-construction