Pressing button activates animation when enter trigger?

Hi I’m really new and I’m trying to figure out how to activate animation when the character enters a trigger and presses a button and then locks the character in animation and then plays an idle animation in a loop until the character presses the same button. I’m not sure where to start and can’t seem to find a tutorial anywhere and if anyone happens to have a blueprint of what I’m talking about that’d be great ,_,

You can start by creating the trigger volume. Then go into you’re character and add a boolean variable. Play an animation based on your condition

Go into your trigger volume’s blueprint and add onComponentBeginOverlap. Cast to your character so that it only works for your character. Access the variable you made and set it to the condition you set previously to play the animation.

This should give you a good start :slight_smile: