Files
Super-Mario-Bros.-Remastere…/Scripts/Parts/EditorVisibleNode.gd
JHDev2006 502013992e stuff
2025-10-18 12:52:24 +01:00

9 lines
173 B
GDScript

extends Node2D
func _ready() -> void:
update()
func update() -> void:
visible = !LevelEditor.playing_level and Global.current_game_mode == Global.GameMode.LEVEL_EDITOR