@using LuckerGame.Components.Lucker.Cameras @using Sandbox @using Sandbox.UI @namespace LuckerGame.UI.HudComponents @attribute [StyleSheet] @inherits Panel @if (ShouldShowCursor) { } @code { private bool ShouldShowCursor => Game.LocalClient.Pawn?.Components.Get()?.ShouldShowCursor ?? false; }