I am having trouble setting the variables of an object’s clone through the variable object.clone() returns. In the project below, I spawn balls and in the spawning process assign them a random number. Then, when showing the value in the console, the value is unchanged and still at 0.
ballTest.wick (2.5 KB)
Am I doing something wrong, or is this a bug?
Edit: the x and y positions work fine, but the custom this.[name] variables do not work