How to set a bool to false after an Animation has been completed

Hello, I’m a newbie to Unreal Engine 4 and I’ve been having some troubles with the communication between my character’s blueprint and its animation blueprint.

One of the character’s animation is set on the animation blueprint that gets called through a Boolean variable. Inside the character’s blueprint I set the bool to true with a button press (InputAction), but this way the animation keeps repeating itself indefinitely. I tried to set the bool to false when the button is released, but I don’t want the player to hold down the button for the animation to play, it should play only one time once pressed.

I feel kinda lost because I searched the answerhub for a possible solution but I didn’t find anything.

Here’s a screenshot of the character blueprint:

That worked, thank you!

The Timeline has an output pin called Finished (an execution signal when playback ends). You can set your boolean there.