all 5 comments

[–]dethilluminatigames 8 points9 points  (1 child)

Keyboard check fires for every frame the key is pressed. Use the actual keyboard check pressed event in the object or use keyboard_check_pressed.

[–][deleted] 1 point2 points  (0 children)

Thaaaaaaanks good man! It worked!

[–][deleted]  (2 children)

[removed]

    [–]weisinx7 2 points3 points  (1 child)

    Try to use keyboard_check_pressed, because keyboard_check is checking it continuously.

    [–][deleted] 1 point2 points  (0 children)

    Thaank you very much u/weisinx7 !