Hello, I've been trying to implement a jump mechanic into my game, but the player will not move the way I want it to, instead being relocated off-screen. My project contains other cpp and header files, but I'm certain that this bug is entirely within the file below. I'm not sure if this is an SFML issue or just bad coding but I will appreciate any help given.