Click or drag to resize
AnimalIsDefending Property

Used to determine if your creature has been commanded to defend. You can also check the CurrentDefendAction property to get the actual target creature you're defending against. Because defending is asynchronous your creature won't defend until the upcoming tick.

Namespace: Terrarium.Sdk.Classes.Creature
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public bool IsDefending { get; }

Return Value

Type: Boolean
True if your creature will defend the next tick, False otherwise.
See Also