Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You should be able to use `hurtbox_anim_match()` or directly set `hurtbox.sprite_index`.

Do i run those functions dirwctly in the fighters init scripts?

You'd need to run them in the state scripts or a passive script. If you only run them in Init, then it would only change the hitbox on the first frame of the game.