Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Zubayer |
the code…
extends Node2D
func _on_door_button_pressed():
while $“door button”.pressed == true:
if $shoping2.show() == true:
$shoping2.hide()
elif $shoping2.show() == false:
$shoping2.show()
if $“door button”.preesed == false:
pass
pass # Replace with function body.
Format code by pasting it, highlighting it and clicking the { } button.
Magso | 2020-04-30 17:08