there is some math involved... but it's only 2 events.
you need:
-the full length of the bar graphic
-a variable that holds the max value of your bar
-a variable that holds the current bar value
Event: Every Tick
Action: Set bar_graphic Width to: bar_value * (bar_fullwidth / max_bar_value)
Event: OnKey pressed
Action: Add 1 to bar_value
You can use max/min in the equation to prevent you from going over the max or minimum width