Attack end

Resets  properties for all hitbox groups for the current attack. Can be used for looping attack windows, so that the hitboxes can hit again. This function does not work for projectile hitboxes. Instead, use the following code from projectile's perspective.

Syntax
attack_end;

Returns
N/A

Examples
//attack_update.gml //This code loops the window over if the Attack button is held down. attack_end allows the attack to hit every loop. if (window == 2 && window_timer == 10 && attack_down){ window_timer = 0; attack_end; }