how to use UMG buttons to drive different state in animation blueprint

Also, in the currently invisible post, I mentioned dragging off the character movement component in order to access flying in character, but it occurs to me that there may just be a blue node for that (like jumping), so you wouldn’t have to drag off. I know for a fact flying is one of the options that just comes with having a char move component though.