Files
RCBASIC4/doc/files/getspriteboxsize.txt
2025-03-20 17:29:11 -04:00

9 lines
224 B
Plaintext

#title GetSpriteBoxSize [RCBasic Doc]
#header Sub GetSpriteBoxSize(spr_id, ByRef w, ByRef h)
Returns the size of the collision box on a sprite.
NOTE: Returns (-1, -1) if the collision shape is not a box
#ref SetSpriteBox