+ Code SnippetRem ******************************************
Rem Keyboard Movement Based On Camera Angle **
Select Camera_A# `check for camera angle
Case 0 `camera at 0 degrees
If Keystate(17)=1 Then Inc Cursor_Z#,1 `move cursor in the z direction(+)
If Keystate(31)=1 Then Inc Cursor_Z#,-1 `move cursor in the z direction(-)
If Keystate(30)=1 Then Inc Cursor_X#,-1 `move cursor in the x direction(-)
If Keystate(32)=1 Then Inc Cursor_X#,1 `move cursor in the x direction(+)
EndCase
Case 90 `camera at 90 degrees
If Keystate(17)=1 Then Inc Cursor_X#,1 `move cursor in the x direction(+)
If Keystate(31)=1 Then Inc Cursor_X#,-1 `move cursor in the x direction(-)
If Keystate(32)=1 Then Inc Cursor_Z#,1 `move cursor in the z direction(+)
If Keystate(30)=1 Then Inc Cursor_Z#,-1 `move cursor in the z direction(-)
EndCase
Case 180 `camera at 180 degrees
If Keystate(17)=1 Then Inc Cursor_Z#,-1 `move cursor in the z direction(-)
If Keystate(31)=1 Then Inc Cursor_Z#,1 `move cursor in the z direction(+)
If Keystate(30)=1 Then Inc Cursor_X#,-1 `move cursor in the x direction(-)
If Keystate(32)=1 Then Inc Cursor_X#,1 `move cursor in the x direction(+)
EndCase
Case 270 `camera at 270 degrees
If Keystate(17)=1 Then Inc Cursor_X#,-1 `move cursor in the x direction(-)
If Keystate(31)=1 Then Inc Cursor_X#,1 `move cursor in the x direction(+)
If Keystate(32)=1 Then Inc Cursor_Z#,1 `move cursor in the z direction(+)
If Keystate(30)=1 Then Inc Cursor_Z#,-1 `move cursor in the z direction(-)
Endcase
EndSelect
thats my little case check for moving a cursor...the thing is only the first case works, all the others don't work when Camera_A# is equal to the case check. The Camera_A# does update to the right number, I've check, it's just the code under the case wont run. Thanks for any help.