Add/Remove value from event

how to add +1 or -1 per event?

for example when i press X then 1 should be added and when i press Y then 1 should be removed so that i can have a range that i can control from 1 to 6

Hi,

You have to set your input.ini with the Key you want, then catch event on blueprint.
See: https://docs.unrealengine.com/latest/INT/Gameplay/Input/index.html

doesnt work, i would like to make a system when i press a key then this should add 1 on the float value but when i press an other key then the value should go down -1. for example froma range from 1-6 i press 3 times the up key then im on 4 but when i want to go back then i press the down key so that the value is on 3