So I am trying to make a variable to save me time when i call the letter 'Z'
From my current knowledge, i know for ord() to work it needs to be in a argument which it is not in the code I wrote. However, writing if keyboard_check(ord('Z')) = true { do something }, despite working, would make the code tiring to read.
Is there another way to assign letters to variables or do I have to write the if statement everytime i need to call a letter?
Code:
var zkey = keyboard_check(ord('z'))
Is there another way to assign letters to variables or do I have to write the if statement everytime i need to call a letter?