isHud property
Whether this component is a HUD (Heads-up display) object or not.
HUD objects ignore the FlameGame.camera when rendered (so their position coordinates are considered relative to the device screen).
Implementation
@override
bool get isHud => true;
Whether this component is a HUD (Heads-up display) object or not.
HUD objects ignore the FlameGame.camera when rendered (so their position coordinates are considered relative to the device screen).
Implementation
bool isHud = false;