Add a button in blueprint editor

Is there a way to add a button with memory in the blueprint editor? Instead of using the pressed and release function, I want to make a button activate from a key on the keyboard and stay active until the key Is pressed again. Thankyou for any ideas!

Something like this?

58750-gatekey.jpg

thankyou! I actually ended up figuring it out but my comment didn’t post yesterday