Hello everyone, I have a problem. When I press a button in the panel, I want the panel to slide away with the button and another panel to come. But when I press the first button, the panel I want opens, while the other panel does not go. All the codes I wrote for the animation of the panel do not work. I am trying to make an android application. I am associating the code with the menu. The code plays automatically when I press the play button. How do I prevent this? Can you check my code? I have another question, how can I combine animations of different objects in one code. For example, I will press the button and the panel will move to the right with a small animation, and another panel will appear. This event needs to be specific for each button. Thank you in advance for your help and advice. Code (CSharp): using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainMenuGoes : MonoBehaviour { // Animator component reference Animator MainView; // Use this for initialization void Start() { // Getting game objects animator component MainView = GetComponent<Animator>(); } // Update is called once per frame void Update() { // getting a touch and its position from input if (Input.touchCount > 0) { Touch touch = Input.GetTouch(1); Vector3 touchPos = Camera.main.ScreenToWorldPoint(touch.position); if (GetComponent<BoxCollider2D>() == Physics2D.OverlapPoint(touchPos)) { MainView.SetTrigger("MainGoes"); } } } }