Destroy hitboxes

Destroys all physical hitboxes for the character.

Syntax
destroy_hitboxes;

Basic
//attack_update.gml // in this example, window 2 is a diving attack with a long-lasting hitbox that goes away when landing into window 3: if (window == 2 && !free){ window = 3; window_timer = 0; destroy_hitboxes; }

Advanced
// Advanced code example if necessary. // If another code block is needed, take a look at this one in the Source Editor.