Collision detection (again)

BlitzMax Forums/BlitzMax Programming/Collision detection (again)

That must be my problem, how do I cast the object to a TPill?

(I still dont understand OOP 100%)