Q: What is the issue? I want to know if tweens are considered coroutines or not?
Ex: If I make a tween, will the rest of the code run while the part is being tweened?
That’s all I wanted to ask!
Q: What is the issue? I want to know if tweens are considered coroutines or not?
Ex: If I make a tween, will the rest of the code run while the part is being tweened?
That’s all I wanted to ask!
Simply, yes, tween’s do not yield the code below
To expand on @TenBlocke’s answer, the tween service is provided by the engine. As such, it runs on a thread that’s separate from the thread that your code is running on.
Yes tweens run in a separate thread but you can make a sort of yielding by using the tween.Completed event to run the code in the callback function (basically after the tween is finished)