Hey, Huseyin thanks for the reply.
I had already checked the branch nodes before. I then checked the get input key time down to see the value and it is constantly going up as the space bar is held.
I have then attached a screenshot of the timeline used hope this helps.