i read more documents and watched more videos about "returns"
What I understand is that you use return when you want to end the coding inside of the function or when you want to get a variable or more variable outside the function
Example:
local function Test(x,y,z)
return y -- only taking and using y, x and z are ignored
end
local result = Test(1,3,5) -- When i run the game the, in output will only appear 3 because we returned/ selected y
Is this right?