Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
LUAu "vector" problem — Gideros Forum

LUAu "vector" problem

rrraptorrrraptor Member
edited July 2022 in General questions
local headerRegion = vector(0, 0, 0, 0)
 
Timer.delayedCall(10, function()
	headerRegion.x, headerRegion.y, headerRegion.z, headerRegion.w = 100, 200, 300, 400
	print(headerRegion)
end)
Outputs: 0, 0, 0, 0

But without the delay, works fine...
What happens? Values gets gc or something?
Tagged:

Comments

Sign In or Register to comment.