diff options
Diffstat (limited to 'touch_screen_button.gd')
| -rw-r--r-- | touch_screen_button.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/touch_screen_button.gd b/touch_screen_button.gd index 07958ea..1a84776 100644 --- a/touch_screen_button.gd +++ b/touch_screen_button.gd @@ -1,10 +1,10 @@ extends TouchScreenButton @export var texture: Texture2D +@export var desktop_visible: bool # Called when the node enters the scene tree for the first time. func _ready() -> void: $TextureRect.texture = texture if not DisplayServer.is_touchscreen_available(): - visible = false - #visible = true + visible = desktop_visible |
