there is invincibility frames but they are weird, if an enemy attacks you, that enemy cannot hurt you for a small amount of time, stuff also cant hurt you the second they spawn in/ when they are created