I just started working on SmallBASIC, and I've figured I can make a simple player controller by using a changeable variable which determines the amount of pixels the object is across the graphics window. This is what I've done:
tutle = 300
GraphicsWindow.BrushColor = "Green"
GraphicsWindow.FillEllipse(tutle, 300, 55, 65)
If GraphicsWindow.LastKey = "A" Then
tutle = tutle + 5
EndIf
I've heard that Last Key is the last key you pressed or released, but this doesn't seem to work. I'm sure I've got the KeyDown wrong. What can I do to fix it?