Files
RCBASIC4/doc/files/getspriteboxsize.txt
2026-02-26 15:33:51 -06:00

10 lines
225 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