Skip to content

IMouseOnHud

namespace Griff.Runtime;
public interface IMouseOnHud

A system that draws something on the screen the mouse can be over (a strategy game’s HUD, say).

public abstract bool MouseOnHud { get; }

True while the mouse is over something the system draws on the screen, so a click there isn’t meant for the world: Griff’s own controls leave it alone, and in a network game the host is told.