So i have a spine anim projected onto a 3d mesh and a subviewport, and the spinenode as the child of the sub viewport. 

](https://)
I have a button that when pressed calls a function to start animations.
These animations only sometimes work, 90% percent fail rate.
func _on_button_pressed():
	for girl in bad_girls:
		girl.get_node("Mesh").get_node("SubViewport").get_node("SpineSprite").bend_down()
		girl.panty = true
		$CanvasLayer/Control/begin_timer.start()
		$CanvasLayer/Statbar.show()
		$CanvasLayer/player_statsbar.show()
`
`extends SpineSprite
func _ready():
	get_skeleton().set_skin(get_skeleton().get_data().find_skin("blonde_hair"))
	get_animation_state().set_animation("idle_standing", true, 0)
here is the func being called 
func bend_down():
	get_animation_state().set_animation("skirt_lift", false, 0)
	get_animation_state().add_animation("bend_down", 0.0, false, 0)
	get_animation_state().add_animation("idle_bent", 0.0, true, 0)
	print("Spine state:", get_animation_state())
	print("Current animation:", get_animation_state().get_current(0).get_animation().get_name())
here is video of the failure, i cant show the successful attempts cuz the game is porn.