hab mal zu Testzwecken das hier geschrieben:
[autoit]
#include <GUIConstants.au3>
#include <Misc.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Snake", 600, 600, 193, 125)
$Label1 = GUICtrlCreateLabel("", 0, 0, 64, 24)
GUICtrlSetBkColor(-1, 0xFF0000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $1 = 0 , $2 = 0
Func _up()
While 1
GUICtrlSetPos ($Label1,$1,$2)
$2 = 2 +2
Sleep (20)
WEnd
EndFunc
Func _move()
While 1
If _IsPressed ("28") Then
_up()
EndIf
GUICtrlSetPos ($Label1,$1,$2)
$1 = $1 +2
Sleep (50)
WEnd
EndFunc
While 1
If _IsPressed ("20") Then
_move()
EndIf
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Wieso setzt er aber das Label jetzt nur einmal nach unten?