Troubleshooting
Last updated
Was this helpful?
Last updated
Was this helpful?
This page discusses common troubleshooting techniques when your Gum Forms objects are not behaving as expected.
You can check the WindowOver property to see what the Cursor believes it is over. This can tell you if the Cursor is over the object that you expect it to be over. The following code can be used to output the CursorOver to Visual Studio's output window:
Clicks could be offset if the GraphicalUiElement's CanvasWidth and CanvasHeight are set incorrectly. For more information, see the .
You can also output the Cursor's X and Y values to the screen to compare them to the desired object's bounds, as shown in the following code: