Is there a way to limit the size of a virtual button to the size of the up/down image? I currently have rectangular images set up for some of my menu buttons, but if I click outside of the image boundaries it still clicks as if it were the button. Here's the code I'm using for when I set up my buttons in begin(), and I just unhide them when I bring up my menu.
unsigned int menuButtonImage = agk::LoadImage("menuButton.png");
agk::AddVirtualButton(contButton, 40, 20, 20);
agk::SetVirtualButtonText(contButton, "Continue Game");
agk::SetVirtualButtonImageUp(contButton, menuButtonImage);
agk::SetVirtualButtonImageDown(contButton, menuButtonImage);
agk::AddVirtualButton(newGameButton, 40, 50, 20);
agk::SetVirtualButtonText(newGameButton, "New Game");
agk::SetVirtualButtonImageUp(newGameButton, menuButtonImage);
agk::SetVirtualButtonImageDown(newGameButton, menuButtonImage);
agk::AddVirtualButton(exitButton, 40, 80, 20);
agk::SetVirtualButtonText(exitButton, "Exit Game");
agk::SetVirtualButtonImageUp(exitButton, menuButtonImage);
agk::SetVirtualButtonImageDown(exitButton, menuButtonImage);
agk::SetVirtualButtonVisible(contButton, 0);
agk::SetVirtualButtonVisible(newGameButton, 0);
agk::SetVirtualButtonVisible(exitButton, 0);