So when I did this challenge I went really basic and just did
private bool InteractWithUI()
{
SetCursor(CursorType.UI);
return EventSystem.current.IsPointerOverGameObject();
}
Which seems to work perfectly and i’ve not noticed any bugs. Is this wasting resources or something compared to Sams method of using and if statement to return true and false?