HasCursorover
Introduction
Code Example - Detecting GuiManager.Cursor Over Gum Object
void CustomActivity(bool firstTimeCalled)
{
var cursor = GuiManager.Cursor;
var isCursorOver = GumScreen.ColoredRectangleInstance.HasCursorOver(cursor);
FlatRedBall.Debugging.Debugger.Write($"Cursor over: {isCursorOver}");
}
Code Example - Detecting Screen Coordinates on GraphicalUiElement
Last updated
Was this helpful?