Custom Variable Setter Node

Hello,

I’ve been looking for a tutorial or documentation on how to create a custom variable setter node that would be selectable along with Get or Set when dragging a variable into a Blueprint.

Reason I ask is I would like to create a node to simplify flipping a bool variable, and have a node such as SetBoolVariableFlipped, rather than having to use GetBoolVariable→Not BooleanSetBoolVariable . (for Sprinting, Crouching, etc)

Any help would be much appreciated.

Thanks