Simple little Rectangle movement?

Blitz3D Forums/Blitz3D Beginners Area/Simple little Rectangle movement?

Seems to work now :o

fun, my first game lol!
I call it FLY THE CUBE!!
While Not KeyHit(1)

TileImage(Grass)
; Square Char
Color 255,255,255
Rect Rx, Ry, 50, 50, False
Color 0,0,0
Rect Rx+1, Ry+1, 50-2, 50-2, True
;UP
If KeyDown(17) Then ; W
Ry = Ry - 3
EndIf
;Down
If KeyDown(31) Then ; S
Ry = Ry + 3
EndIf
;left
If KeyDown(30) Then ; A
Rx = Rx - 3
EndIf
;right
If KeyDown(32) Then ; D
Rx = Rx + 3
EndIf

Flip:Cls

Wend
End