![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | lucaswt |
my function is to spawn enemies so I want to delay it
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | lucaswt |
my function is to spawn enemies so I want to delay it
![]() |
Reply From: | Enfyna |
Why dont you use this :
await get_tree().create_timer(1).timeout
like in the answer you linked.This will delay your code and you dont have to create a new signal for it.And you can easily edit the delay time too.