Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Darkfx100 |
This is the line
If Input.is_action_just_pressed("ui_accept"): and "cooldown <= 0"
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Darkfx100 |
This is the line
If Input.is_action_just_pressed("ui_accept"): and "cooldown <= 0"
Reply From: | Ertain |
That’s incorrect GDScript. This may be the correct code:
If Input.is_action_just_pressed("ui_accept") and cooldown <= 0: