Using buttons in UMG to change integer values.

Can you please show me an example of the function that i need for this please?