State machine and button pressed/released

Edit: Oh… it was really stupid mistake from my side :smiley: I did not put "NOT "after variable… I was thinking the enter transition is always looking for true and exit transition for false… but it is no…