get_num_hitboxes

Returns the number of hitboxes for the specified attack.

ArgumentTypeDescription
attack:realThe attack to get the hitbox number for

Example, called from post_draw.gml:

// draws the number of hitboxes for your current attack:
draw_debug_text( x, y, get_num_hitboxes( attack ));