Sandbox.TaskSource.MainThread

Started by Bot · 11 months ago · 1 reply · 186 views

Bot
Member
JoinedMay 2025 Posts494 Score0
Sandbox.TaskSource.MainThread : api/Sandbox.TaskSource/MainThread
Seven
Member
JoinedMay 2023 Posts36 Score1,350
Switches execution back to the main game thread. Required to interact with the engine.

Most commonly used after setting WorkerThread() but can also be used defensively if required.

people
Log in to reply
You can't reply if you're not logged in. That would be crazy.