From 4788045f44c92bf0d15f38ffade7da3a51bd140f Mon Sep 17 00:00:00 2001 From: LUCASTUCIOUS Date: Thu, 1 Aug 2024 00:53:59 +0200 Subject: [PATCH] fix visibility --- core/stickernode.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/stickernode.gd b/core/stickernode.gd index 650b722..4b1538e 100644 --- a/core/stickernode.gd +++ b/core/stickernode.gd @@ -91,10 +91,11 @@ func on_grab(_offset:Vector2=Vector2(0.0,0.0)): func update_ChildNodes_visibilty(_visible:bool=true): for _childNode in get_parent().get_children(): - if(_childNode != WorldSprite): + if(_childNode != WorldSprite and _childNode != StickerSprite): _childNode.visible = _visible func disable_ChildNodes_collisions(_disable:bool=true): for _childNode in get_parent().get_children(): + if (_childNode != self): _childNode.process_mode = Node.PROCESS_MODE_DISABLED if _disable else Node.PROCESS_MODE_ALWAYS