how to make the charge animation to only start when the player is sneaking and it will stop on the last frame?
"geometry": "Geometry.scoped",
"materials": [
{
"*": "Material.default"
}
],
"textures": [
"temp.life_time = query.life_time * 3.3; return array.item_frames[temp.life_time];"
],
"arrays": {
"textures": {
"array.item_frames": [
"Texture.frame_0",
"Texture.frame_1",
"Texture.frame_2",
"Texture.frame_3",
"Texture.frame_4",
"Texture.frame_5",
"Texture.frame_6"
]
}
}
}```