clickableEntity

Returns if a target is clickable.

clickable(unitId) : true : false
  1. Cast will only utilize a position if the spell being casted is a spell that requires clicking the mouse. Examples: Effloresence.

Example

if clickableEntity('target') then
return cast(Efflorescence, 'target')
end