AMOSi:Hard Col

From Amiga Coding
Jump to: navigation, search

Returns the result of the hardware collision detector you've activated with the SET HARDCOL command. If the test is successful you'll get a value of True (-1). Otherwise the result will be False (0).


You can now find the identification number of any other sprites involved in the collision using the COL function as normal.


test=Hardcol(spritenumber)