Trying to do a when you press a button it plays a animation that turns the camera to the left

godot version 4.1
im triyng to do a fnaf style gameplay and so i can turn left to the window i made a animations that turn the camera to the left and i added a ui button that when you press it plays the animation
but i cant properly figure out the animation
this is mycode

extends Camera3D

func k_oknu():

the k_oknu means to the window