I have been researching on how threads work for a few days but I can't seem to find a solution.
So I have a simple scene tree:
and I have a script on the
var thread = Thread.new()
for y in range(100):
for x in range(100):
set_cell(x,y,0) #btw the tileset is a valid tileset I made
But why is it that when I play the project, it crashes?
print(x,y), it works perfectly fine.
Is there something about threads that I should know? (Sry I'm a little new to godot threads so I don't understand exactly how they work)