an example can be found on AMOSPro_Tutorial:Tutorials/Collision_Detection.AMOS
Checks a single SPRITE for collisions between several bobs. The source sprite MUST have been assigned a mask with the MAKE MASK option before use.
If the test is successful, you'll get a result of -1. You can now find the other objects in the collision with a call to the COL function.
c=Sprite Bob Col(spritenumber)
There's also an extended version of this function.
c=Sprite Bob Col(spritenumber,first To last)
Tests for collisions between the source object and bobs from first to last. (See COL,MAKE MASK)