I am getting and error where 80, 380 is and the Comma is getting a error it blatantly says ") expected"
Can someone tell me why it does this?
Additional info: I wan it if the button sprite is within the location of 12, 330 and 8-, 380 to execute the msgbox. I was confused on how I can implicate between methods but there is none. There is Greater then and less then signs that do the trick.
Can someone tell me why it does this?
Code:
If e.KeyCode = Keys.Space And BtnSprite.Location = New Point(12, 330) <= (80, 380) Then
MsgBox("Txt here")
End If