Alright, this is a question that has been asked so many times it's gotten old, but I'm stuck and haven't been able to find any solution after searching for hours. I just started working with Unity in hopes of making a 2D game, and so far have been able to get the character controller to move at the press of a button as well as assigning a walking animation. But I am unable to script a door to open. I've searched the Unity forum as well as YouTube, but so far, none of the scripts I tried to implement off tutorials, etc. have worked for me. I'm about ready to tear my hair out. I don't know if I'm missing something or just doing something wrong. The run-down is this: I've got a set of animations for the door. One is a set idle state (to fall back to just in case), the other an opening animation, and the other a closing one. The player character has been given a box collider and the default sprite of the door has been given one as well. I've set up, in the animator for the door, that the idle animation will change to open via the condition/parameter of pressing the E button. Now, I know you have to translate that into a script function, but I've NO IDEA where to start. As I've just started scripting (I'm literally two days into learning Unity, and maybe I'm just not cut out for this scripting stuff), I am super lost on how to get the door to animate when the player presses e when in range of the door's collider. I'm at my wits end but don't want to give up now just because I've hit a snag I don't understand. In any case, I hope that makes sense, and I'd really appreciate the help. This is a huge hurdle for me, but something I really want to accomplish.