spriteCollision

Checks whether two sprites are currently colliding. Sprites are colliding if they have overlapping pixels that are not transparent.

Usage

    if spriteCollision(sprite1, sprite2) then
      :
    endif;