Commanding to defend


How to use this.command to defend in Sky Span? Or can’t I? I always get an error!


What’s the line of code you’re using, and the error? The available commands are shown in this.commandableMethods in the spell palette at the bottom. There isn’t actually a defend command, but you could make one using attack and move depending on an enemy’s distance and the unit’s attackRange.