# Unit In Range And Able To Attack Target

Grammaru In Range and Able To Attack s
FlagsNative | Function

Returns true if the specified unit is in range and currently able to attack the given target. This function does not factor in is weapon cooldowns.

# Arguments

  • unit — Unit
  • unit — Target

Returns — bool

native bool UnitInRangeAndAbleToAttackTarget(
	unit inUnit,
	unit inTarget,
);

Category: Unit / Weapons

# Examples

— None found —