Just FYI. It tripped me up for a bit. I tried to use a select case on the object returned after testing various objects, but the command only returns a 1. Could we get that updated, please?
Quote: "ObjectSphereCast
Description
Will check if the ray starting at oldx,oldy,oldz and ending at x,y,z, and of width radius#, collides with the specified object (objID=0 for all). does not collide with backfaces, will return the number of the object hit first, or 0 for no collision. Sphere casting commands add a width dimension to normal ray casting which can be used to check if a player has hit anything during movement and to position them at the collision point to provide 'sticky' collision, where the player stops if they hit anything. The alternative is sliding collision. see ObjectSphereSlide"