Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | lucasfazzi |
I’m not understanding how declare void play ( float from_position=0.0 ) method properly.
Thanks guys
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | lucasfazzi |
I’m not understanding how declare void play ( float from_position=0.0 ) method properly.
Thanks guys
Reply From: | damncoder |
You can use:
get_node("sound").seek(offset_in_seconds)
get_node("sound")._set_playing(true)
Or:
get_node("sound").play(offset_in_seconds)
tested second method and works. thanks!
lucasfazzi | 2019-04-07 22:52